Specifications

Chapter 14. Statement Reference
246
If pressed together with the Shift key, any numerical key can operate as a function
key.
If you issue more than one
KEY statement specifying a same function key, the last
statement takes effect.
If a null string is assigned to a function key, pressing the function key produces no
key entry. To make a particular function key invalid, you specify a null string to
stringdata as shown below.
KEY 1,""
KEY 2,CHR$(0)
KEY 3,CHR$(&h0)
Defining a function key as the LCD backlight function on/off key
KEY in syntax 2 defines a function key specified by backlightkeynumber as
the backlight function on/off key and sets the length of backlight ON-time specified
by
onduration. (Refer to Chapter 13, "LCD Backlight Function.")
backlightkeynumber is a key number assigned to a particular function key.
(Refer to Appendix E, "Key Number Assignment on the Keyboard.")
Pressing the specified backlight function on/off key activates or deactivates the
backlight function.
In the BHT-3000/BHT-4000/BHT-5000, specifying zero (0) to
backlightkey-
number
restores the default (which is the combination of the trigger switch and
shift key).
In the BHT-6000/BHT-6500/BHT-7000 with 26-key pad/BHT-7500, specifying a
zero (0) or 32 to
backlightkeynumber will be ignored.
In the BHT-3000/BHT-4000/BHT-5000, pressing the trigger switch while holding
down the shift key functions as the backlight on/off control key by default. In the
BHT-6000/BHT-6500/BHT-7000/BHT-7500, pressing the M1 key (key number 33)
while holding down the shift key functions as the backlight on/off control key by
default.
If pressed together with the Shift key, any numerical key can operate as a function
key.
onduration is the length of time in seconds from when the backlight is turned
on to automatic turning-off. Pressing the trigger switch or any key (except for the
backlight function on/off key) while the backlight is on resets the counter of
onduration to the specified time length and restarts counting down.
Specification of BL0 disables the backlight function. Specification of BL255
keeps the backlight on.
A function key defined as the LCD backlight function on/off key cannot be used to
enter string data.