OFF: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[OFF]] is a flag that disables event-trappping for [[KEY(n)]], [[ON COM (n)|COM(n)]], [[PLAY]], [[STRIG(n)]], [[TIMER]], [[UEVENT]].
[[OFF]] is a flag that disables event-trappping for [[KEY(n)]], [[STRIG(n)]] and [[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)]], [[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)]] and [[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).



Revision as of 22:37, 8 August 2022

OFF is a flag that disables event-trappping for KEY(n), STRIG(n) and 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) and 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:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link