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.