RESTORE

This command will reset the DATA statement pointer to the very first piece of data in your program.

  Syntax
RESTORE DataLabel
  Parameters
DataLabel
Integer
A value between 0 and 2415919103.

  Returns

This command does not return a value.

  Description

Optionally, if you specify a label, it will reset to the DATA statement immediately following that label. To create a DATA statement label you must write a label in your program followed by a sequence of DATA commands. The label can be made up from any combination of alphabetic characters, but you must end the declaration of the label using a colon(:). You only need to use a colon when you are declaring the label, and a colon should not be used when calling the RESTORE command.

  Example Code
RESTORE _mydata
READ A,B,C
PRINT A
PRINT
PRINT C
WAIT KEY
END
_mydata:
DATA 42,21,10
  See also

CORE Commands Menu
Index