READ - source-solutions/HELP GitHub Wiki
READ var_0 [, var_1] ...
Assigns data from a DATA
statement to variables. Reading starts at the current
DATA
position, which is the DATA
entry immediately after the last one read by
previous READ
statements. The DATA
position is reset to the start by the RUN
and RESTORE
statements.
var_0
, var_1
are variables or array elements.
- Not enough data is present in
DATA
statements: Out of DATA. - The type of the variable is not compatible with that of the data entry being
read: a Syntax error occurs on the
DATA
line.