245
backlightkeynumber
(BHT-3000/BHT-4000) A numeric expression which returns
a value from 0 to 29.
(BHT-5000 with 32-key pad) A numeric expression which returns
a value from 0 to 46.
(BHT-5000 with 26-key pad) A numeric expression which returns
a value from 0 to 34.
(BHT-6000) A numeric expression which returns
a value from 1 to 31, 33, and 34.
(BHT-6500) A numeric expression which returns
a value from 1 to 31 and 33 to 38.
(BHT-7000 with 32-key pad/BHT-7500) A numeric expression which returns
a value from 1 to 31 and 33 to 50.
(BHT-7000 with 26-key pad) A numeric expression which returns
a value from 1 to 31 and 33 to 38.
onduration
Keyword BL and a string expression which returns a value from 0 to 255. (BL0
to BL255)
magickeynumber
(BHT-5000/BHT-6000) 30 or 31
(BHT-6500/BHT-7000 with 26-key pad) 30, 31, 35, or 36
(BHT-7000 with 32-key pad/BHT-7500) 30, 31, 47, 48
Description:
■ Assigning a string or a control code to a function key
KEY in syntax 1 assigns a string or a control code specified by stringdata to a
function key specified by
keynumber. Pressing the specified function key gener-
ates the assigned string data or control code and then passes it to the user program
as if each character is keyed in directly from the keyboard.
•
keynumber is a key number assigned to a particular function key. (Refer to
Appendix E, "Key Number Assignment on the Keyboard.")
• In the BHT-5000, specifying 32 to keynumber assigns the trigger switch. In the
BHT-6000/BHT-6500/BHT-7000 with 26-key pad/BHT-7500, specifying 32 will be
ignored.
•
stringdata is a character code ranging from 0 (00h) to 255 (FFh). (For the
character codes, refer to Appendix C, "Character Sets.")
• If you specify more than two characters to stringdata, only the first two char-
acters are valid.
•
stringdata inputted by pressing the specified function key may be read to the
user program by
INPUT or LINE INPUT statement or INKEY$ or INPUT$
function.
Note that
INKEY$ or INPUT$ (1) function can read only the first one character
of the assigned two. The second character remains in the keyboard buffer and
can be read by the INPUT or LINE INPUT statement or INKEY$ or INPUT$
function.
Komentáře k této Příručce