ARRAYCOPY Function -- Syntax and Examples

ARRAYCOPY(fromstem, tostem, [from], [to], [count])


copies array values from the source array "namelist." to the target array "newnames.", starting with the value in "namelist.5" for twenty-five elements; copied values start with element "1" in the target array.

blankarray.0 = 1 blankarray.1 = 0 If arraycopy("blankarray.","blankarray.","1","2","25") Then Do Say "Array successfully initialized." End Else Do Say "Error initializing the array." End

when successful, sets the first twenty-six elements of the array "blankarray" to "0"