EasyManua.ls Logo

Sharp PC-1403 - Page 175

Sharp PC-1403
252 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...
1
69
A
ssign the
valu
e
2
0 to
e
ach of the
e
l
ements of B( ).
Se
t
s up
a
n
ar
r
ay.
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
2
0
90
END
::Examples
._
1
Hi
In
t
he
regu
la
r
u
se of
t
he READ
verb
,
t
he COMPUTER
be
gin
s
r
e
adin
g with the
f
irs
t
va
lu
e
in
a
DAT A
s
t
a
t
e
men
t
and
p
ro
ceeds
s
equen
ti
a
l
l
y
thr
ou
gh
t
he
re
m
ain
ing
val
ues
.
The first
for
m of
t
h
e RESTORE
s
t
atem
e
nt resets
th
e
po
inte
r to
th
e first
v
alu
e
o
f
t
he
f
i
rst DATA
statemen
t
,
s
o
th
at it can be read
again
.
Th
e second
for
m
o
f the
R
E
ST
ORE
st
atem
ent
resets the
po
i
nte
r
to the first
v
al
ue of the
fi
r
st
D
A
T
A
stat
emen
t
w
ho
se line number is
greater than the
v
a
l
ue
o
f
t
h
e
expr
e
s
s
io
n.
IQ!IM·Mi
The RESTORE
v
e
rb is
u
se
d to
re
r
ea
d
v
alu
e
s
i
n a DAT A
s
t
a
teme
nt or
t
o
c
hang
e
t
he
o
r
der
i
n
w
hic
h these values
a
r
e re
ad
.
1
RESTORE
2 RESTORE
e
x
pressio
n
Abbrev
i
at
i
o
n
s
:
RES.,
RE
S
T
.,
R
E
S
T
O
.,
RE
S
T
OR.
See also: DA
T
A
,
READ
Verbs
RESTORE

Related product manuals