RESTORE

RESTORE

FORCES TO READ VALUES FROM THE FIRST "DATA" STATEMENT

  • Type: Command
  • Parameter: 0
  • Group: Reference

ACTION

The command RESTORE forces to read values from the first DATA line.

SYNTAX: RESTORE

USE

  • The command RESTORE is used to read again the same values in DATA statements.

ERROR

  • If no value is available in the DATA statements
  • If there is no DATA statement

EXAMPLE

dim a,b,c,d$

data 1,2,3,"Hello"

read a,b:print a:print b

restore

rem we read again from the first line DATA

read a,b,c:print a:print b:print c

read d$: print d$

SEE ALSO

DATA

READ

RESTORE_LABEL