EasyManua.ls Logo

Sharp PC-1500 - Page 134

Sharp PC-1500
169 pages
Print Icon
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...
All and more about Sharp
PC
-1500 at http
:/l
www.PC-1500.info
VIII. BEGINNING
PROGRAM
EXECUTION
A. The
DEF
k ey
The
DE
F
ke
y (short f
or
define) provides
se
veral timc
·so
vlng s
hortcuts
...
A.1. Running DE Finable Programs
The DEF
key
is
the
th
ird
me
t
hod
of
begi
nning
a program.
A.
we
have seen in
the
section
on
the RUN
command.
a program may be "labeled'"
with
a le
tte
r.
The
DEF key may be used
to
quickly initiate a labeled program. This
is
done
by
pressing the DEF key followed
by
the
a
lphabeti
c key which
corresponds
to
the
labe
l of
th
e
program
. The following
keys
may
be
used
in
this
manner
:
A,
S,
D,
F, G,
H,
J,
K,
L,
Z,
X,
C,
V,
B.
N,
M, SPACE a
nd
=
As
an example. en1er t
h•
following statements
to
cre
ate three labeled programs:
Program Listing:
10
"Z"
: GOSUB
500
20
PRINT "Z KEY"
30
END
140
"A"
: GOSUB
500
150
PRINT
"A
KEY"
1
60
END
270
..
" : GOSUB
500
280
PRINT "SPACE
KEY"
290
END
500
CLS : PAUSE
"YOU PRESSED THE
510
RETURN
...
In
RUN
mode, 1rY beginning each program wi th the DEFine key. Notice
that
specifying a
letter for
which
no
corresponding
lab
e
led
pr
ogram
exisuwill
produce
an ERROR 11.
A.2.
Pre-assigned Keywords
A few
of
the most
fr
equently used key\vords have been permanently assi
gn
ed
to
a single
alphabetic key in
the
second row
of
the
keyboard. The
se
keywords may be retrieved. in any
mode,
by
pressing
th
e DEFine key followed
by
one of the alphabetic keys. For example,
to
retrieve the keyword USI
NG
type:
t
32
Do not sale this PDF !!!

Table of Contents

Other manuals for Sharp PC-1500

Related product manuals