Code which worked in 2.3 but not in 2.5
Posted: Fri May 31, 2024 2:20 pm
perhaps one of you boffins can help me especially since I find JavaScript so difficult
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.
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
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.