
271
Syntax:
ON KEY (keynumber) GOSUB label
Parameter:
keynumber
(BHT-3000/BHT-4000) A numeric expression which returns
a value from 1 to 29.
(BHT-5000 with 32-key pad) A numeric expression which returns
a value from 1 to 46.
(BHT-5000 with 26-key pad) A numeric expression which returns
a value from 1 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.
Description:
According to label, ON KEY...GOSUB specifies the first line of an event-handling
routine to be invoked if a function key specified by keynumber is pressed. (Refer
to Appendix E, "Key Number Assignment on the Keyboard.")
• ON KEY...GOSUB specifies only the location of an event-handling routine but does
not enable keystroke trapping. It is
KEY ON statement that enables keystroke
trapping. (Refer to KEY ON and KEY OFF.)
• Specification of zero (0) to label disables keystroke trapping.
I/O statement
ON KEY...GOSUB
Specifies an event-handling routine for keystroke interrupt.
Comentarios a estos manuales