EasyManua.ls Logo

Sharp PC-1403 - Page 164

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
5
8
A
n
in
p
u
t of
1
p
r
ints
'
F
I
R
S
T'
;
2p
rin
ts
'
S
E
CO
ND
';
3
p
r
i
n
ts 'TH
I
RD
'
.
Any
oth
e
r
i
n
put does not
p
r
oduc
e any print.
1
0
I
N
PUT A
20
O
N
A
GO
T
O
1
00
,
200
,
3
0
0
3
0
G
O
TO 900
1
00
P
RIN
T
"
FI
R
S
T
"
11
0 GOTO 900
20
0
PR
IN
T
"
SECON
D
"
2
1
0 GOTO 900
300
PR
IN
T
"
T
H
IRD"
310 GOTO 900
900
E
ND
Examples
''Mi
Wh
e
n
t
h
e ON ...
GO
T
O
ve
r
b is
e
x
ecuted
,
t
h
e
e
xp
r
e
ssi
o
n between ON and GOTO is
eval
u
ated and
r
ed
u
ced
t
o
a
n
in
teger
.
If
t
h
e
va
l
u
e
of
the
i
nteger
i
s
1,
control is
t
r
ansfer
r
ed to the
f
i
rs
t
l
oc
a
t
i
o
n
i
n the
li
st. If
t
he
e
xpr
e
ssi
o
n
i
s
2
,
contro
l i
s
t
r
ansferr
e
d to
the
seco
n
d location
i
n the
l
i
s
t
,
and so
f
ort
h.
I
f the expression is
z
ero,
n
ega
t
ive, or
l
a
r
ger
t
h
a
n
th
e number of locations
provide
d in
the
li
s
t
,
exec
u
t
i
on proceeds
w
i
th the
nex
t
l
i
n
e of
t
h
e
p
r
ogram
.
NOTE:
Co
m
mas cannot be us
e
d
i
n
t
h
e ex
pr
ess
i
ons
f
ollow
i
n
g
t
he GOTO.
Th
e
COMPUTER cannot
d
i
sti
ngui
sh
be
t
wee
n
c
o
m
ma
s
i
n
e
x
p
ressions
a
n
d
com-
mas between
express
i
ons.
1µm.1+11
Th
e ON ...
GO
T
O verb
i
s
u
sed
t
o
t
ransfer
c
ontrol to
o
ne
o
f a set of
l
ocat
i
on
s
depend
i
ng
on
t
he
v
alue
of
a
co
n
t
ro
l
exp
ressi
on
.
A
bbreviations
:
0
.:
G
.
,
GO
., GOT.
See
a
l
so
:
GOS
U
B
,
GOTO
,
ON ...
GOSU
B
1
ON
exp
r
ession GOTO
e
x
p
r
es
sio
n
li
s
t
W
h
ere
:
expression
l
ist
i
s:
e
xp
ressio
n
or:
e
x
p
r
e
ssi
o
n
,
e
x
p
r
es
s
io
n
l
ist
Verbs
ON
...
GOTO

Related product manuals