EasyManuals Logo
Home>IBM>Laptop>5100

IBM 5100 Basic Reference Manual

IBM 5100
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #113 background imageLoading...
Page #113 background image
(
(
{
RESTORE
[comment]
RESTORE
The RESTORE statement allows you
to
begin assigning values beginning with the
first item
in
the first DATA statement (see
DA
TA)
of
the
program according
to
the
next READ statement executed. The syntax
of
the RESTORE
statement
is
as
shown:
RESTORE
[comment]
where:
comment
is
one
or
more characters.
The RESTORE statement returns
the
internal data table pointer from its current
position
to
the
beginning of
the
table. The optional
comment
is
a character string
that
does
not
affect the execution
of
the
statement.
Notes
About
RESTORE
A RESTORE statement
in
a program
that
contains no DATA statements
is
ignored .
A RESTORE statement for an already restored data table pointer
is
ignored.
Example
After executing the following statements,
the
variables A and C will each have a value
of
1, and
Band
D will each have a value
of
2:
10 DATA 1,2
20
READ A,B
30 RESTORE
40
READ C,D
109

Table of Contents

Other manuals for IBM 5100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 5100 and is the answer not in the manual?

IBM 5100 Specifications

General IconGeneral
BrandIBM
Model5100
CategoryLaptop
LanguageEnglish

Related product manuals