//Just Simple example of saving UDT arrays
//Get User Input
If Spacekey() = 1
//Open the datafile for writing
OPEN DATAFILE TO WRITE 1, "save.txt"
//Possible to check if datafile is open
`IsOpen = OPEN DATAFILE TO WRITE( 1, "save.txt" )
Endif
//Save the array e.g. MyArray() nothing more
Save Array To Datafile Imges(),1
//Close the data file
Close dataFile 1
//Close the program and check the folder for your file
End
//How to load datafile
//**!!Make sure you create the array in the exact same way you saved it before loading from datafile!!!!**
OPEN DATAFILE TO read 1, "save.txt
Load Array from Datafile Imges(),1
Close dataFile 1
Do
End
Loop
FOF