Sharp PC-1500A Instruction Manual page 12

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

Advertisement

All
and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
Notice
that
pressing
the
I
s•OFri
key
followed by
a
key which
has
another
character
inscribed
above
it,
will
enter
the uppermost
character.
The shift
key
permits
two
character
s
to
share
the
same
button,
and
is sometimes called
the "second
fu
nction"
key.
Thus, in the
fi
rst
line
of ou
r
program (line 10
abovel
,
a
l
•••
nl keystroke followed
by
a
m
causes
a
CD
(semi coion)
character
to be entered. The
e ntire
line is
stored
in
the computer
as:
DCC
PRO
In this manual
we will
illustrate the
selection of
the
second function
character
with the
sh
ift
key and
the
character
desired. For
example,
the
line numbered
10
above will
be
shown
as:
ITl
m
co
(J[)
m
CllJ
CD
1
... ,,,
I
c:J
CD
CD
CD
Ci]
(•••«I
CD
com
ill lSHorT!(IJ
(SH1
n
l
c::J
ISHIFrl
GJ
m
I
ENTERI
Complete the entry
of
our second
program with t
he followi ng keystrokes:
m
m
co
m
m1
••••' 1
rn 1=1mmrnrnrnrnrn
IENTER
I
rn oo
CD
rn
m
co
1
=
1
m rn
rn
m
1ENTER
1
rnoom
w
CllJ!Ilill
CO
!E[!J
wco
rn
co
IENreRI
mm
OD
ill
rn
CD
co
l
eNTER
1
rn
rn
rn
ill
m
m
rn
I
•••n
l
om
OD CID
I
eNreR
I
Our
second program is no\v stored in the
PC· 1500A's
memory.
Do
you remember
what
must
be
done
next
?
If
you said
" Run
ihe
program"
you
are
well on
the
way
to p
rogramming
competency.
Retu
rn
to the RUN mode
(HINT: use the MODE key) and tYP•
in
the
word
RUN.
Press
lt:Nru
l
to
begin "execution" (another word for runn ing)
of
our
second
program.
Is
the
compUter interrogating you in
the following manner?
(If
not. return to
the PROgram
mode
and
re·check you
r
tYPing)
.
.
..
KU
H
,-.
I ...,E.-·
-.
"
"
·-
.__
·-
Good show!
Dur
p rogram
is asking the
user {you)
for
information
necessary to perform
the
task that
wn, as
programmeri,
instructed
it to
perform.
Recall
the first
line
of ou
r
BASIC
program
(which you so
kindly typed in for
us)
;
The
instructions within this line are
currently
being followed
by the computer. The result
is
that
the computer
is waiting
for you
to
"input"
(type in) some
information.
This program will
pri
nt a list
o
f n umbers
and
their squares {the number
multiplied
by
itself).
First,
however, it asks
the
user
how many
numbers
and squares
to
print
(LIST
SI ZE?). The
user
(you
again) respond's by tYPing a
number
and
pressing
(you
guessed
it
l)
l••n•I.
Type
rn
and p
ress
IENTER
I.
10
Do not sale
this
PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents