Im using the following code to read data for a tile map from .txt file into a 2d array, the data in the file is in the form of
and the numbers are just image numbers, this is proberly real simple but i dont know where to even start on it but how would i go about writing a text file in the same form out of the array if i make changes to it
Hers the code im using for reading
Open to Read 1,"EmptyMap.txt"
For y = 0 to 27
Read String 1,a$
Char = 1
For x = 0 to 63
map(x,y)=val(Mids(a$,Char,2))
Inc Char,3
Next x
Next y
Close File 1