EasyManua.ls Logo

Sharp PC-1500 - Page 12

Sharp PC-1500
169 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...
A
ll
and more about Sharp P
C-
1500 at http://www.PC-1500.info
Notice
that
pressing the I """Tl key followed
by
a
key
which has
anothe
r
character
inscribed
above it.
will
enter
the
uppermost character.
Thoe
shift
key permits two cha
ract
ers
to
share the
same
button.
and
is
sometimes called
the
"second
function" key. Thus, in the first
li
ne
of
our
program
(li
ne
10
3bovel, a l
SHIF
TI keystroke fol
lo
wed
by a
C±J
causes
a
GJ
(semi
COlonl
character
to
be entered. The entire line
is
stored in the computer
as:
•cc
9k
0 t
--
]
lti:
IMPUT
"'LT
O::T
.&.
·-·
I
.-.
T
--::
I-
.-.
'·'
D
•••
. ::
:::..
:-
' H
- -
--
--
In
th
is
manual we will illustrate the selection
of
the se
cond
function
character
with
the
shift
key and
the
character desired. For example,
the
line numbered 10 above will be
shown
as:
ITJ[IJ
OJ
[ij]IIJ
OD[!]
l
•w
n l c::J m
co
III
[!]
I
S>
>.e•
I
~-~
m
corn
CD
l
••
FT
IQ]
l•
H
IF
TI
CJ
l
sru
FTI
CD
rn
I
ENTER!
Complete the
ent
ry
of
our
second program
with
the
following keystrokes:
m
rn
m
m1
A
11
.. '"' m 1=1r
e:i
rn
oo
ro
rn rn rn
I
ENTER
I
rn
rn
m
rn
ao
OJ
1 = 1
rn
rn
rn
rn
1
ENTER1
rnm
m
moo
mm
CD
!EDGJ
m
rn
OJ
IENTeRI
rn
rn
®m
rn
rn
m 1
ENTeR
I
rn rn
m
comm
rn
1 .. ,
,.1
omoorn
1
ENTER
!
Our
second program is now stored in
th
e PC
·15
00
's
memory. Do you remembocr what
must
be
done
next?
If
you
said "
Ru
n
the
program" you are well on the
way
to
programming competency.
Return
to
the
RUN mode (HINT: use
the
MODE key)
and
type
in
the
wo
rd RUN. Press
IEKTEA
! to begin "execution" (another word
for
ru
n:ning)
of
our
second
p
ro
gram
.
Is
the
compute
·r interrogating you in
the
following
mo
nner? (If
not
, return to the PROgram
mode
and
re·che
ck
your
typing).
(
LIST
DtG
RUN
,-. I 'E·-·
.
-,
- .._ . -
Good
show!
Our
program
is
asking
the
user (you) for information necessary
to
perform
the
task
that
we,
as
programmers. instru
cted
it
to
perform. Recall the first line
of
o<Jr
BASIC program
(which you
.s
o
kindly
typed in for us);
OEG
PAO
I
10:INPUT
vLIST
SI/~?v;A
_]
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)
so
me information.
Th
is
program will
print
a list of numbers ond their squares (the
number
multiplied
by
itself).
First, however,
it
asks
the
user
how
many numbers and squares
to
print
!LIST SIZE?).
The
user
!you again) responds
by
typing a number and pressing
(yo
u guessed it!I (
••
r'"').
Type
([J
and press I
ENTER
I.
10
Do not sale this PDF
!!!

Table of Contents

Other manuals for Sharp PC-1500

Related product manuals