Sharp PC-1500 Instruction Manual page 12

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

Advertisement

All
and
more
about Sharp PC-1500
at
http://www.PC-1500.info
Notice that pressing
the
I
"""Tl key followed by
a key
which
has
another
character inscribed
above
it. will
enter
the
uppermost character.
Thoe
shift key
permits two characters to
share
the
same
button.
and
is
sometimes called the
"second function"
key.
Thus, in
the
first line
of our
program
(l ine
10
3bovel, a
lSHIFTI
keystroke
followed
by a
C±J
causes
a
GJ
(semi
COlonl
character
to be
entered. The
entire line is
stored
in
the
computer as:
•cc
9k0
t
--]
lti:
IMPUT
"'LT
O::T
.&.
· - ·
I
.-. T --::
I-
.-.
'·'
D
•••
.
::
• :::.. :-
' H
-
-
--
--
In this
manual we will illustrate the selection of the
second
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•wn
l
c::J
m co
III
[!]
IS>>.e•I
~-~
m corn
CD
l •••FTIQ]
l•H
IFTI
CJ
l
sruFTI
CD
rn
I ENTER!
Complete
the entry of our second
program with
the
following
keystrokes:
m
rn
m
m1
A
11
..
'"'
m
1=1
re:i
rn
oo
ro
rn rn rn
I
ENTER
I
rn rn m rn ao
OJ
1
=
1
rn
rn
rn rn
1ENTER1
rnmm
moo mm
CD
!EDGJ
m
rn
OJ
IENTeR
I
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
the
PC·1500's
memory. Do you
remembocr
what
must be
done
next? If you said
" Run 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
word RUN. Press
IEKTEA!
to begin
"execution" (another word for
ru
n:
n ing) of our second
program
.
Is
the
compute·
r interrogating you in the
following
monner?
(If
not,
return to
the PROgram
mode and
re·check
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. instructed it
to perform. Recall the
first line
of o<Jr
BASIC
program
(which you
.so 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)
some
information.
This
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
(you
guessed
it!
I
(••r'"').
Type
([J
and
press
I
ENTER
I.
10
Do not sale this PDF
!!!

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents