Sharp PC-1500A Instruction Manual page 50

Hide thumbs Also See for PC-1500A:
Table of Contents

Advertisement

All
and more about
Sharp
PC-1500
at http://www.PC-1500.info
Keystrokes:
CD 00
CD
OD
CD OD
GJ
I
SHIF
T
I
CJ
CD
CID
CD
CD
o:J
III
CO
ls••c•
I
[]]
QJ
CO
CXJ (][)[£]CO
1SHJff1
lJ
11
SH•fT
1
CJ
1
sH
•FT
1
GJ
rn
1
eHT(A
1
m
rn
o:J
OD
m
OD
CD
I
S>•OF•
I
t:::J
CD
rBJ rn
OD
rn
rnmm
o:J[QJ
[][Jls•ACEI
ODOOCQJODOOCI.Jl
sHOFTl
[D
l
SHlfT
I
L:J
(SHlf•
I
[ ! ]
(..
I
.J
III
I
••TE•!
rnmrnmrnmi
=
1
~mmmrnm
rn
ITTrn
00
au
lENTERI
rn1111rn1=1
rnm
rn m
1
.....
1
CD 00
CD
III
CD
CD
l SHlfTI
CS)
00
CD
OD
CD OD
[][)
(QJ
CD
[JjJ
CD
O!J
JENTE•I
rn rn moo moo CD
1
SHor
r
1
c:J
rn
ITJ
m
rn m
com
1
•••°'1
mm
ls••«11
s ...
.,1
m
1
••
,.,1 c::i
1•"'"1
CJ
m rn
1'"'"1
CJ
jsmn
l
CJ
ISP•«I
m
QD[IJ
IIJ
fIJ
[QJI
SHOFT!
CJ
I
EHTf
ftl
oo rn
m
OD
m
C2J
moo'""''"'
rn
rn
m r10
co
oo
CD
D:J
m
1
'""'
1o1
..
,.,1
CJ
l•••«I
rn
rn mm moo
m ,
...
c.1
CEJ
rn
m
rn rn oo moo
OD
'
'"'"
1
c::i
''"''"1
oo oo
moo
rn
oo
CD
1 '"'
"
1
c:J
m
rn
rn
rn m
ISP•CE)
rn
mm
m
OD
mm
1
=
11
..
•c•1
1
....
,,
c:::i1
••
,
, .1orn
1
.,
••
,
mmmaorn
1
'"""'
Observe that this
program ends
only
if
the
transaction
amount is zero. The second
IF
$late·
ment
is
the
one which
il lustrates
the
structure
we mentioned before.
Notice
that in addition
to
the
t\\IO
separate
actions
assoc
iated
..
..,ith
the
IF
statement
(lines 50 and 70). there are some
statements
(I ines
80 and 90) executed
regardless
of
the
result
of
the
IF
testin9.
We can now
write
a third version
of
the program lrom the previous section:
Program Listing
:
10
PAUSE "AR
E
YOU
ASLEEP?"
20 INPUT "TYPE
YES
OR
NO ";
SXS
30 IF
SXS
<>"
YES" THEN GOTO 99
40 PRINT "OH. SORRY
TO
DISTURB
YOU"
9'9 END
4.s
Do not sale this PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents