EasyManua.ls Logo

Laser 128 - Restore

Laser 128
255 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC COMMANDS AND
STATEMENTS
3.49
RESTORE
Purpose:
To
use
DAT
A
values
again
after
they
have
been
READ.
Format:
RESTORE
Comments:
After
a
RESTORE
statement
is
executed,
the
next
READ
statement
will
read
the
fir
st
item
of
the
very
first
DAT
A
statement
in
your
program.
Example:
]
10
READ
A
] 20
READ
B
] 30
DATA
10, 20, 30
]
40
PRINT
A, B
] 50
RESTORE
] 60
READ
C,
D,
E
] 70
PRINT
C,
D,
E
]RUN
10 20
10 20 30
II-84

Table of Contents