read dynamic deviceID,arrayName
read dynamic to read the contents of a dynamic array from a disk file. Before executing this read statement, you must dimension the dynamic array. The following example creates and fills a dynamic array, writes the array to disk, then reads it back into memory.
for x = 1 to 100
myAry(x) = x
open "O",#1,"Dynamic Array Test"
write dynamic #1,myAry
kill dynamic myary
open "I",#1,"Dynamic Array Test"
read dynamic #1,myAry
for x = 1 to 10
kill "Dynamic Array Test"
dynamic; write dynamic