RESTORE statement is used to change the order in which DATA lines are read.
The RESTORElabel statement will make the next READ to get the data from the label line onwards.
If no label is specified, the data reading sequence is restarted from the beginning.
RESTORE numbers
FOR i = 1 TO 3
READ a
PRINT a
NEXT i
REM These will be skipped by the RESTORE above
strings:
DATA "Hello world!", "ZX Spectrum", "ZX Rules!"
REM This will be read since RESTORE pointed to numbers: label
numbers:
DATA 10, 20, 30