ON

From QB64 Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

ON creates event procedure calls or enables event trapping.


  • In the case of ON ERROR the trap is also enabled until a subsequent ON ERROR statement.
  • ON procedures should be used only in the main program module and not inside of SUB procedures!
  • If you have used the $CHECKING:OFF metacommand, $CHECKING:ON will turn on c++ error checking again.


See also:

ON...GOSUB, ON...GOTO

OFF, STOP, KEY

$CHECKING



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By usage
Main WIKI Page