EasyManua.ls Logo

Sharp MZ-800 - Page 93

Sharp MZ-800
221 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...
DEF
KEY
Format
Explanation
DEF
KEY(<key
number
>)
=‘‘<character
string>"’
Character
strings
can
be
assigned
to
any
of
the
ten
function
keys
to
allow
the
strings
to
be
entered
at
any
time,
simply
by
pressing
a
single
definable
function
key.
Function
key
numbers
|
to
5
are
entered
just
by
pressing
the
corresponding
func-
tion
key
at
the
top
left
corner
of
the
keyboard,
while
keys
6
to
10
are
entered
by
pressing
the
SHIFT
key
together
with
the
corresponding
function
key.
The
func-
tion
key
number
(1
to
10)
is
specified
in
<key
number>,
and
the
string
or
com-
mand
which
is
to
be
assigned
to
the
key
is
specified
in
<character
string>
exactly
as
you
want
it
to
appear.
<character
string>
can
be
up
to
15
characters
long
in-
cluding
spaces.
Execution
of
the
DEF
KEY
statement
cancels
any
existing
function
key
definition.
Example
10
DEF
KEY(1)=‘‘SHARP”’.....
..
Defines
key
[F1)
as
SHARP.
20
DEF
KEY(2)="'RUN’’
+CHR$(13)
.....
Defines
key
[F2]
as
RUN
[CR].
Note:
CHR3$(13)
is
the
ASCII
code
for
CR,
which
can
be
specified
together
with
the
string
assigned
to
a
definable
function
key
to
the
same
effect
as
you
actually
press
the
CR
|
key.
KEY
LIST
Format
KEY
LIST
Abbreviated
Format
Explanation
K.L.
The
KEY
LIST
command
displays
a
list
of
the
character
strings
assigned
to
the
defina-
ble
function
keys.
Example
KEY
LIST
[cr
]
DEF
KEY(
1)="RUN
(ju.
+CHR$(13)
DEF
KEY(
2)="LIST
DEF
KEY(
3)="AUTO
.,””
DEF
KEY(
4)=""RENUM
.,"
DEF
KEY(
5)="‘COLOR
..”"
DEF
KEY(
6)="*CHRS("”
DEF
KEY(
7)="DEF
.
KEY(”’
DEF
KEY(
8)="CONT”’
DEF
KEY
9)="SAVE
4"
DEF
KEY(10)=
“LOAD
V4.”
Ready
The
list
above
shows
the
initial
settings
for
the
definable
keys.
Note:
“*\
|”
indicates
a
space.
6-36

Other manuals for Sharp MZ-800

Related product manuals