ON: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:




''See also:''
{{PageSeeAlso}}
 
* [[ON...GOSUB]], [[ON...GOTO]]
[[ON...GOSUB]], [[ON...GOTO]]
* [[OFF]], [[STOP]], [[KEY]]
 
* [[$CHECKING]]
[[OFF]], [[STOP]], [[KEY]]
 
[[$CHECKING]]




{{PageNavigation}}
{{PageNavigation}}

Revision as of 00:51, 29 January 2023

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



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link