CONTROLCHR (function): Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_CONTROLCHR (function)}} The _CONTROLCHR function returns the current state of the _CONTROLCHR statement as -1 when OFF and 0 when ON. {{PageSyntax}} :{{Parameter|status%}} = _CONTROLCHR {{PageDescription}} * The function requires no parameters. * Default return is 0 when the _CONTROLCHR statement has never been used previous to a function read. * When the statement has been use to turn OFF con...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 15: Line 15:


{{PageSeeAlso}}
{{PageSeeAlso}}
* [https://qb64phoenix.com/forum/showthread.php?tid=1260 Featured in our "Keyword of the Day" series]
* [[_CONTROLCHR]]
* [[_CONTROLCHR]]
* [[CHR$]], [[ASC]]
* [[CHR$]], [[ASC (function)]]
* [[INKEY$]], [[_KEYHIT]]
* [[INKEY$]], [[_KEYHIT]]
* [[ASCII]] {{text|(codes)}}
* [[ASCII]] {{Text|(codes)}}
 




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 17:50, 25 May 2024


The _CONTROLCHR function returns the current state of the _CONTROLCHR statement as -1 when OFF and 0 when ON.


Syntax

status% = _CONTROLCHR


Description

  • The function requires no parameters.
  • Default return is 0 when the _CONTROLCHR statement has never been used previous to a function read.
  • When the statement has been use to turn OFF control characters, the characters can be printed as text without screen formatting.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link