Difference between revisions of "OFF"

From QB64 Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
OFF is a flag disabling trap for [[KEY(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 also be used to turn off the display of soft-key assignments at the bottom of the screen.
{{PageDescription}}
* [[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:'' [[ON]], [[STOP]], [[KEY]]
{{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