EasyManua.ls Logo

HP HP-20S - Keystrokes for Other Conditionals

HP HP-20S
132 pages
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...
8
(=]
(BeL)
2
(=)
(%]
=]
R/S
(=]
(SHow]
(*2)
(PRGM]
15-
8
16-
61
41
2
17-
51
14
18-
74
19-
26
CbCA
Starts
routine
2
with
common
lines.
Calculates
38%
or
28%
.
of
income.
End
of
program.
Checksum
(page
66).
Exits
Program
mode.
Test
this
program
the
same
way
you
tested
the
previous
program
on
page
83.
Press
to
remove
the
:
from
the
previous
example.
Keystrokes
for
Other
Conditionals
The
HP-20S
provides
two
of
many
possible
conditionals
using
x,
v,
and
zero.
The
following
table
shows
examples
of
the
keystrokes
that
you
can
use
to
create
some
other
conditionals
in
a
program:
Conditional
Program
Steps
Explanation
n=07?,
n#0?
n
nis
x.
()
Is
n=0?
(\v)
(GTO]1
Yes.
Go
to
LBL
1.
(Lines
for
n#0)
No.
Continue
here.
()
1
(Lines
for
n=0)
n=0?,
n<0
0
is
x.
n
nisy.
()
Is
0<n?
(is
n=>0?).
(-]
1
Yes.
Go
to
LBL
1.
(Lines
for
n<0)
No.
Continue
here.
()
1
(Lines
for
n=0)
6:
Programming
85

Table of Contents

Related product manuals