
Chapter 14. Statement Reference
217
NOTE
If you issue KEY statements specifying a same function key, only the last
KEY statement takes effect.
The description below, for example, makes the function key numbered 3
operate as a backlight function on/off key and the length of backlight
ON-time is 100 seconds.
KEY 3,"a"
KEY 3,"BL100"
The description below assigns string data "a" to the function key numbered 3.
The default backlight function on/off key (combination of M1 key and shift
key) will be restored.
KEY 3,"BL100"
KEY 3,"a"
The description below defines the M1 key as a trigger switch. The default
battery voltage display key (combination of ENT key and shift key) will be
restored.
KEY 30,"BAT"
KEY 30,"TRG"
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 71: Syntax error
• keynumber is missing.
• stringdata is missing.
• backlightkeynumber is missing.
• stringdata is a numeric expression.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
05h
Parameter out of the range
(keynumber, backlightkeynumber, or magickeynumber is out
of the range.)
Example:
Example:Example:
Example:
Syntax 1:
KEY 1,"a"
KEY 2,"F"+CHR$(13)
KEY 3,""
Syntax 2:
KEY 1,"BL60"
Reference:
Reference:Reference:
Reference:
Statements: KEY OFF, KEY ON, and ON KEY ..GOSUB
Kommentare zu diesen Handbüchern