ArrayCopy


 

ArrayCopy>array_name,[suffixformat],new_array

 

Creates a copy of an array.

 

Suffixformat is used to specify the format used for the array suffix as array variables in Macro Scheduler can take any format so desired.  If  omitted suffixformat is set to "_n" where n is the numeric placeholder.  This would match an array with the format array_1, array_2, etc.  An array format that looks like array[1], array[2] ... array[n] has the suffix format "[n]" (without the quotes)

 

ArrayCopy works with numeric array indexes only.  Only arrays starting at index 0 or 1 will be recognised.

 

See also: ArrayDim, ArrayRename, ArrayCount, ArraySort, ArrayFind, DelArray, Arrays

Abbreviation: ACP

 

Example:

 

GetFileList>%SCRIPT_DIR%\*.*,MyFiles

Separate>MyFiles,;,FilesArray

ArrayCopy>FilesArray,,NewArray