23 
It 
is 
convenient 
to 
define  the  functions 
of 
special function keys 
as 
direct mode commands and 
statements. However, numerical data and string data can also be assigned 
to 
these keys. The following 
statement 
assigns 
the 
character string "Personal 
Computer 
MZ-80B" 
to 
special function key 8. 
DEF KEY (8) 
=  Personal 
Computer 
MZ
-80B 
To 
obtain 
a listing 
of 
the 
definitions 
of 
the 
special function keys, execute the KLIST command. 
When KLIST 
is 
executed, a list such 
as 
that 
shown in Figure 2.17 is displayed. 
KLIST 
I 
LIST~ 
2 
RUN~ 
3 
RUN 
lOOt 
4 
AUTO----y 
5 
CONT1t 
6  2.7182818 
7  3.1415927 
8  Personal 
Computer 
MZ-80B 
9 
10 
KLIST~ 
Ready 
FIGURE  2.17  List 
of 
special function keys 
This list  shows 
that 
special function keys  I  through 5 are defined 
as 
commands plus the I  c R  ) 
key; special  function  keys  6  through 8  are defined 
as 
data; special function key 9 
is 
undefined and 
special function key 
10 
is 
defined as  KLIST  I  c R  ) 
Labels are provided 
to 
enable 
the 
user 
to 
indicate 
the 
definition 
of 
each key 
under 
the 
transparent 
cover above each key. 
These labels are useful when the same functions are assigned 
to 
the 
special function keys every time 
the 
MZ-80B 
is 
activated.