CURKEY [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
CURKEY
The CURKEY function returns the integer value of the last
branch-during-input key pressed. If the value returned is 0, then no
branch-during-input keys have been pressed during the execution of the
program. The value returned representing a key is in the range [1, 8].
Syntax
CURKEY
Example
100 PRINT CURKEY !Prints the value of the last branch-during-input
105 !key pressed.
110 IF CURKEY > 0 THEN ENABLE !If a branch-during-input key was pressed,
115 !then the branch occurs.
MPE/iX 5.0 Documentation