Code which worked in 2.3 but not in 2.5

Just starting out? Need help? Post your questions and find answers here.
kingwolf71
Posts: 30
Joined: Wed May 01, 2019 10:14 am

Code which worked in 2.3 but not in 2.5

Post by kingwolf71 »

perhaps one of you boffins can help me especially since I find JavaScript so difficult

Code: Select all

   Procedure    MemMoveInt(*src, copyfrom, copyto, last)
     EnableJS
     ;srcAr = p_src.Array SB V2.31
     srcAr = ap_src.Array
     srcAr.copyWithin( v_copyto,v_copyfrom, v_last )
     DisableJS
   EndProcedure
this code used to work with SB 2.31...the line which is remarked
It doesn't work on the current version, halts the app without even an error. *Src is an array of Integers. I have tried to adapt the code
I use this code to move the elements of the array quickly. I would appreciate the help, thanks.