OFF: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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|TIMER(n)]].




{{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|TIMER(n)]]. 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 16:58, 24 February 2023

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


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(n). 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