Does anyone know of a way of saving data stored in an array on a QL like you 
can with the ZX Spectrum?  Below is a description of the way it's done on the 
Spectum using the SAVE command.

You can save arrays on tape using DATA in a SAVE statement by 

        SAVE string DATA array name()

String is the name that the information will have on tape and works in exactly 
the same way as when you save a program or plain bytes. 

The array name specifies the array you want to save, so it is just a letter or 
a letter followed by $. Remember the brackets afterwards; you might think they 
are logically unnecessary but you still have to put them in to make it easier 
for the computer. 

Be clear about the separate roles of string and array name. If you say (for 
instance) 

SAVE "Bloggs" DATA b()

then SAVE takes the array b from the computer and stores it on tape under the 
name "Bloggs".


_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to