AT&T 6300 Programmer's Manual page 440

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

RESTORE
Statement
Syntax
linenum
Remarks
Example
7-284
Permits DATA statements to be re-read either
from the beginning of the internal data file or
from a specified line.
RESTORE [linenum]
must be the line number of a DATA statement
After a RESTORE statement is executed, the
next READ statement accesses the first item
in the first DATA statement in the program. If
"linenum" is specified, the next READ
statement accesses the first data item in the
specified DATA statement.
10 READ A
J
B
J
C
20
RESTORE
30 READ D
J
E
J
F
40 DATA 58
J
67
J
97
50 PRINT Aj Bj Cj Dj Ej F
RUN
58 67 97 58 67 97
Ok

Advertisement

Table of Contents
loading

Table of Contents