ON...GOSUB/GOTO/EVENT |
|
The ON directive has four formats: two that provide condition execution based on the value of a numeric expression, one that is used to define how to process EVENTS from OCX controls, and a fourth to define structured Error handling.
Use these links to access additional information for a specific format:
Format |
Description |
Jump to a subroutine value based on the value of a numeric expression. | |
Transfer control to a statement value based on the value of a numeric expression. | |
Control the processing of events as received from external controls. | |
Define the logic to be executed when a PROCESS EVENT directive is executed. (The PROCESS EVENT directive was added in PxPlus v11.00.) | |
Define Error logic for GOSUB, WHILE, FOR, REPEAT and SELECT directives. |