A
ll
and more about Sharp PC
-1
500 at http://www.PC-1500.info
Presto! You have j
ust
inserted a word.
(I
wish my typewriter
could
do
th
is
).
H.3. RECALL
FUNCTION
Up to
no\<J
we
have been discussing
ways
to correct statements
wh
ich had
not
yet been e
nt
e
red
(that
is
to
say,
you
had
not
pressed ENT
ER
after
yo
ur keystrokes}. Once
you
press E
NT
ER,
however, SHARP immediately
attempts
to
perfo
rm
your
calculation. If the
com
p
ut
er is
successful,
the
resu
lt
replaces
your
equation 0
111
the display. The equation, however. is
not
lo
st
and may
be
recalled (redisplayed)
by
pressing e
it
her the Left Arrow
or
the Right Arrow key.
Clear
the
display and t
yp
e in the equation
of
your
choice. Press ENTER
to
compute
the
re
su
lt.
Recall
your
equat
ion. Note
that
to
see the result ag
ai
n, it
is
necessa
ry
to
re-<:ompute the equation
(using the
l••
«•
l key}.
Fortunat
ely, the Recall function will also
wo
rk ii SHARP encounters an
error
while
try
ing
to
evaluate (make sense
of
)
yo
ur input, This a
ll
ows you
to
recall and correct the erroneous equation
usi
ng
any
of
the editing
fezitu
rcs
you have just learned.
To test
th
is
, enter
thr.
fol
l
owi
ng
in
correct
ly
phr
ased
exp
r
ess
io
n:
45
*
63
I*
2 l•
rm:•I
t
When
th
e
erio
r message appears (ERROR 1) press either of
the
Arrow
lk
eys
to
recall the
express
ion.
You
should
see
the Fl
ash
ing.g
ri
d c
urso
r
pos
itio
ned
over t
he
sec
o
nd
multiplication
symbol (asterisk). This is S
HAR
P's way
of
indicating
the
point
at
which it became puzzled land
for good reason in this case). From here
yo
w may proceed
to
make any
corr
ection
you
deem
ap
prop
riate.
I. VARIABLES
Th
e ability
to
wo
rk abstr
act
ly through vari
ab
les is
one
of
SHARP's
mo
st powerful features.
Variables may
be
thought of as a group of little boxes, each
of
wh
ich may
be
filled wi
th
a s
in
gle
item of data sucfl as a number or a name.
Y
ou
mig
ht
remember
va
riables from h
ig
h 'school algebra. You learned (at least you were
taug
ht
)
th
at if
5A
=
30
then A mu
st
be 6,
bu
t if
SA
=
35
then
A is
equa
l to
7.
The A in this case
is
a variable which holds a single
number
(
not
a
lw
ays the same and therefore a "
va
ryin
g"
number)
called the
"value"
of
the
variable. The abili
ty
to
use a le1ter (such as A) in
an
equation instead
of
a specific
numbe
r
is
very useful.
Le
t's
see w
hy
with the following example:
General
Duffer has his
heart
set
on
pu
rchasing a
set
of
Deluxo
chmme
·
plated
golf clubs.
The
set
co
nsists
of
5 clubs
at
$12 each, a ba.g
at
$21.99
and
th
ree balls as $1 .56 each. The
local
Army
PX
is
offering this
set
at
a 10% disc
ou
nt
but
they
have an
$8
polishing and
delivery
ch
arge, Five
Fi
ng
er Di
scount
Bernie's
Go
lf
Goods
is
offe
ri
ng the
same
set
with
a
5% discou
nt
and
free delivery.
To
compute
which
is
the
better
deal.
the
General decides
to
enlist
the
aid
of
his SHARP
PC·
1
500.
Th.e General calculates
the
basic
cost
of the s
et
and saves
th
is result into a variable
G (for golf,
not
general):
Gi
= (5 *
12
) + 2
1.
9 9 +
(3*1.56)
(E•TE•I
The result
is
displayed
and
can be recalled from storage
by
en
tering
the
name
of
th
e
va
ri
abl
e;
Q0
j<
HT
U l
.,.
KUN
21
Do
not sale this PDF
!!!