ON

From QB64 Wiki
Revision as of 22:11, 26 May 2013 by imported>Cyperium (ON can also be used with $CHECKING)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page