Sharp PC-1500 Instruction Manual page 50

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

Advertisement

All
and
more
about Sharp PC-1500
at
http://www.PC-1500.info
K
eystrokes:
moo
rn
oo
m
OD
m
1
••IFT
I
CJ
rn oo rn
co
CD
DD
ITJ
ls••«
I
ill
rn
CLJ
(]J
CID
CCJ CD
I
Stt1r.
1
I
CO
!
$1i1
Fr
I
c::J
I
s;H1fr
I
LL)
(][)
lfHTE
AI
rn
00
rn
[[]
w
OD
l.!J
I
$H ,,T
I
CJ
CD OD
ru
l!i) (§]
m
m
cu
CD
rn:i
uo
1
s.•c•1
m
oo
w
oo oo
rn
1
.
...
.,1
r
?J
!SHIFT
!
c:::J
!
SHIFT
]C!]
[ L } f f i
Jt:HTllR)
rn
mm
CD
CD
m
I
:J
rn
CD
OD CD
CEl
00
CID
GJ
[QJ
IIl OlJ
l••rc•
I
cuoorn1
=1
rnr+1 m
'""''"'
m
mrnmcom1
••1FT
1rnrn
rn
aomoo
!JD@:)
CD
C.§J
CD
00
l••TE•I
m
mmm
m
rnrn
1s
••
,,,CJrnmmrnm
CD[!]
{s••«
I
[QJ
CD
ISJ>•CE
l
l
5'<1Frl
rn
1
'""T
1
c::i
1 ""'"1
CJ cTJ
m 1
SHIFT1
m
1
S
H
IFT1
c:::i
,
....
c.1
m
CQJ
m rn rCJ rn
I
••IFT
1
c:::i
l
l!
HTERI
oo
OD
rn ou rn
w
rn
rn
''""'"'
mm
mm co
uD
co
mm
1
SHIFT!
CJ
{
SHIFT
1
L:J
(s ..
cul
[QJ
Ci[)
o;J
(D
IIJ
ffi
IIJ
j5'ACEI
[][)
CO
[L)
OD ca:JCEJ 00
CID[][)
I
smn
)
CJ
l••n•I
rnrn
mm
moo
CD
1
••1FT
1
CJ
mm
mm
m
lSP•C•I
OOmmmoomm1
=
!ISPACEj
I
S
HIFT!
CJ
I
smrTj
CJ
m
,,., ..
,
CDOOIIJCEJC§..J
l••• ..
I
Observe
that
this program ends only
if
the transaction amount is
zero. The second
IF state
·
ment
is the
one which
illustrates
the structure we
mentioned
before.
Notice
that
in
addition
10 the two separate
actions
associated
with
the
IF statement (lines 50
and 70),
there are
some
statement
s
(lines
80
and
90)
executed
regardless
of the
result
of
the
I
F
t esting.
We
can
no
..
v write a
third
version of the
program
from the previous section:
Program
Listing:
10
PAUSE "ARE
YOU
ASLE
EP?"
20 INPUT
" TYPE Y ES OR
NO
"; SXS
30
IF
SXS
<
>
"YES"
T
HEN GOTO
99
40 PRINT
"
OH,
SORRY TO DISTURB YOU"
99
END
48
Do not sale this PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents