Main sections
READ
READ a##$$, ...
The READ command is used to get one or more data values from the current readpoint (originally defined by the RESTORE command) and store them in variables. With READ you can specify several variables seperated by a comma rather than requiring a separate READ per variable.
RESTORE name
READ a // returns 1
READ b // returns 2
READ a$, b$, c, d // returns "x", "y", 3, 4
PRINT a+", "+b+", "+a$+", "+b$+", "+c+", "+d, 0,0
SHOWSCREEN
MOUSEWAIT
READ xxx // Error - out of data
STARTDATA name:
DATA 1,2
DATA "x", "y", 3,4
ENDDATA
Output:
1, 2, x, y, 3, 4