RESTORE - DualBrain/bsharp Wiki

To allow DATA statements to be reread from a specified line.

Syntax

RESTORE[line number]

Comments

If line number is specified, the next READ statement accesses the first item in the specified DATA statement.

If line number is omitted, the next READ statement accesses the first item in the first DATA statement.

Example

READ A, B, C
RESTORE
READ D, E, F
DATA 57, 68, 79

Assigns the value 57 to both A and D variables, 68 to B and E, and so on.