Main sections
ENDDATA
ENDDATA
The ENDDATA command terminates a STARTDATA block.
Example:
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