Difference between revisions of "OFF"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
(style guidelines)
 
Line 1: Line 1:
[[OFF]] is a flag that disables event-trappping 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]].




{{PageDescription}}
{{PageDescription}}
* [[OFF]] can be used to turn off the display of soft-key assignments at the bottom of the screen using [[KEY]].
* [[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)]], [[ON COM (n)|COM(n)]], [[PEN]], [[PLAY]], [[STRIG(n)]], [[TIMER]], [[UEVENT]]. The trap can be turned back [[ON]], but all events triggered since [[OFF]] was used are lost.
* [[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).
* [[$CHECKING]]:'''OFF''' is used to disable C++ error trapping (used for verified sections of code that require speed).



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