Difference between revisions of "OFF"

From QB64 Wiki
Jump to navigation Jump to search
imported>Cyperium
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''OFF''' is a flag disabling trap for [[KEY(n)]], [[ON COM (n)|COM(n)]], [[PEN]], [[PLAY]], [[STRIG(n)]], [[TIMER]], [[UEVENT]]
[[OFF]] is a flag that disables event-trappping for [[KEY(n)]], [[STRIG(n)]], [[TIMER]].




* OFF can be used to turn off the display of soft-key assignments at the bottom of the screen using [[KEY]].
{{PageDescription}}
* OFF can also be used to disable an event trapping in the following statements: [[KEY(n)]], [[ON COM (n)|COM(n)]], [[PEN]], [[PLAY]], [[STRIG(n)]], [[TIMER]], [[UEVENT]]. The trap can be turned back [[ON]], but does not retain any events since '''OFF''' was used.
* [[OFF]] can be used to turn off the display of soft-key assignments at the bottom of the screen using [[KEY]].
* [[$CHECKING]]:'''OFF''' is used to disable c++ error trapping, make sure that your code is flawless before using this metacommand, '''can cause a General Protection Fault''' if there are errors in the code.
* [[OFF]] can also be used to disable an event-trapping in the following statements: [[KEY(n)]], [[STRIG(n)]], [[TIMER]]. The trap can be turned back [[ON]], but all events triggered since [[OFF]] was used are lost.
* [[$CHECKING]]:'''OFF''' is used to disable C++ error trapping (used for verified sections of code that require speed).




''See also:'' [[ON]], [[STOP]], [[KEY]], [[KEY(n)]], [[$CHECKING]]
{{PageSeeAlso}}
* [[ON]], [[STOP]], [[KEY]], [[KEY(n)]], [[$CHECKING]]




 
{{PageNavigation}}
==Navigation:==
 
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Latest revision as of 01:55, 24 January 2021

OFF is a flag that disables event-trappping for KEY(n), STRIG(n), TIMER.


Description

  • OFF can be used to turn off the display of soft-key assignments at the bottom of the screen using KEY.
  • OFF can also be used to disable an event-trapping in the following statements: KEY(n), STRIG(n), TIMER. The trap can be turned back ON, but all events triggered since OFF was used are lost.
  • $CHECKING:OFF is used to disable C++ error trapping (used for verified sections of code that require speed).


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page