Here is some code to look at.
1st create the writing program.
`make a normal array
dim TestArray(4) as string
`add some stuff to array
TestArray(0)="1st item"
TestArray(1)="2nd item"
TestArray(2)="3rd item"
TestArray(3)="4th item"
`save the array
if file exist("Test Array.txt") then delete file "Test Array.txt"
save array "Test Array.txt",TestArray(0)
print "Press any key to exit"
wait key
end
2nd make the reading program
`dim an array of the same name in another program
`we will make it bigger
dim TestArray(8) as string
`load the array created in the other program
load array "Test Array.txt",TestArray(0)
print TestArray(0)
print TestArray(1)
print TestArray(2)
print TestArray(3)
print
print "Now we add more items"
print "press key to continue"
wait key
`add some more stuff
TestArray(4)="5th item"
TestArray(5)="6th item"
TestArray(6)="7th item"
TestArray(7)="8th item"
print TestArray(4)
print TestArray(5)
print TestArray(6)
print TestArray(7)
print
print "Press key to end"
wait key
end