FANDOM



This command will load the contents of the file into the specified array.

Syntax
LOAD ARRAY Filename, Array Name(0)
Parameters
Filename

String
Specify a relative or absolute filename to the required file. Array Name(0 Integer
A value between 0 and 2415919103.

Returns

This command does not return a value.

Description

It is highly recommended that the array used to save the data should be identical to the one used when reloading. When specifying the array name, the array index numbers are ignored, but you must still provide them to ensure the array is recognized.

Example Code
DIM data(10)

data(5)=123

SAVE ARRAY "array.arr",data()

data(5)=0

LOAD ARRAY "array.arr",data()

print data(5)

WAIT KEY
See a
Community content is available under CC-BY-SA unless otherwise noted.