Copy source array
・Only 1D arrays can be specified.
First element number of copy source
・If not specified, it's 0.
Number of elements to copy
・If not specified, the number of elements in the copy source array minus the copy source offset is specified.
Copy result array
・In the case of string array, the string of each element is also copied.
Copy source string
Copy source start position
・If not specified, it's 0.
Number of characters to copy
・If not specified, the number of characters in the copy source string minus the copy source offset is specified.
Copy result string
・For 1D arrays only, if the copy destination array has fewer elements than the copy source array, it is automatically expanded.
・The dimensions of the array are ignored for both the copy source and the copy destination.
Copy destination array
First element number of the copy destination
・If not specified, it's 0.
Copy source array
First element number of copy source
・If not specified, it's 0.
Number of elements to copy
・If not specified, the number of elements in the copy source array minus the copy source offset is specified.
DIM SRC[10],DST[10] COPY DST,SRC
・Read the data defined by the DATA statement into the array.
・If the number of array elements is less than the number of copy data, only 1D arrays are automatically expanded if the number of elements in the copy destination array is insufficient.
Copy destination array
First element number of the copy destination
・If not specified, it's 0.
Label name string indicating the DATA statement you want to read
・Reading starts from the DATA statement that appears first after the label name.
Number of data to be read
・An error occurs if the number of data that can be read is less than the value specified here.
・If not specified, the number of elements in the copy destination array is specified.
DIM DST[5] COPY DST,"@SRC" @SRC DATA 5,1,1,2,4
Copy destination string variable
Copy start position
・If not specified, it's 0.
Copy source string
Copy source start position
・If not specified, it's 0.
Number of characters to copy
・If not specified, the number of characters in the copy source string minus the copy source offset is specified.
COPY A$,"12345"