Sharp PC-1403 Operation Manual page 175

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

169
Assign
the
value 20 to each of the elements of B( ).
Sets
up
an
array.
10 DIM 8(10)
20 WAIT 32
30 FOR 1=1TO111l
40
RESTORE
50 READ B(I)
60
PRINT
8(1)*1
70 NEXT I
80
DATA
20
90
END
::Examples
. _
•1
Hi
In the regular
use
of the READ verb,
the
COMPUTER
begins reading
with
the
first
value
in
a
DAT A statement and proceeds
sequentially through the
remaining
values.
The first
form
of the RESTORE statement
resets
the
pointer to
the first
value
of the
fi
r st DATA
statement,
so that
it
can be read
again.
The second
form
of the
RESTORE statement
resets the
pointer
to
the first value of the
first
DAT
A statement
whose line number is
greater than the value of
the
expression.
IQ!IM·Mi
The RESTORE
verb is
used
to reread
values
in a
DAT A
statement
or
to change
the
order in
which these values are read.
1 RESTORE
2 RESTORE
expression
Abbreviations: RES., REST.,
RESTO.,
RESTOR.
See also:
DATA, READ
Verbs
RESTORE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents