Not sure how you would expect to "just type all the
data in an array" ?!?!?!?!
Do you mean like :-
namearray$(1) = "john"
namearray$(2) = "joe"
namearray$(3) = "mark"
etc.
....
This would be very inefficient !
Think about how awkward it would be to add new data,
change the order of data in the array etc etc.
And with the RESTORE command, you can direct your
code to read data from different sections (eg
different levels in a game)
(if that doesn't make sense, just take my word for it -
it's a lot easier and more flexible using read/data !!!!)
data in an array" ?!?!?!?!
Do you mean like :-
namearray$(1) = "john"
namearray$(2) = "joe"
namearray$(3) = "mark"
etc.
....
This would be very inefficient !
Think about how awkward it would be to add new data,
change the order of data in the array etc etc.
And with the RESTORE command, you can direct your
code to read data from different sections (eg
different levels in a game)
(if that doesn't make sense, just take my word for it -
it's a lot easier and more flexible using read/data !!!!)