HP 3000 Manuals

DISABLE [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

DISABLE 

The DISABLE statement suppresses the execution of a branch specified by
pressing a branch-during-input key and places the branch into the
interrupt queue.  The interrupt queue contains branches that are to be
executed.  The key-generated branches in the queue are stored by HP
Business BASIC/XL in a format that includes the key number.  The branch
information for each key is able to be stored only once.

If a key defined as a branch-during-input key is pressed while key
generated branch processing is DISABLED, the branch is added to the
interrupt queue.  If the function key is subsequently redefined by an ON
KEY statement and pressed again while the first branch is still in the
queue, then the original branch information is overwritten by that
present in the second ON KEY statement.  There can be at most eight
interrupts pending in the queue; one for each of the eight softkeys.  The
interrupt for a specific key can only be stored once.  Pressing a key
multiple times while DISABLE is in effect does not result in multiple
executions of that key's action when interrupts are enabled.

Syntax 

DISABLE

Examples 

     100 DISABLE



MPE/iX 5.0 Documentation