RESTORE

Top  Previous  Next

Action

Allows READ to reread values in specified DATA statements.

 

 

Syntax

RESTORE label

 

Remarks

Label

The label of a DATA statement.

 

See also

DATA , READ

 

 

Example

DIM a AS BYTE, I AS BYTE

RESTORE dta

FOR a = 1 TO 3

READ a : PRINT a

NEXT

RESTORE DTA2

READ I : PRINT I

READ I : PRINT I

END

 

DTA1:

Data 5, 10, 100

 

DTA2:

Data -1%, 1000%

Integers must end with the %-sign. (Integer : <0 or >255)