Difference between revisions of "CONTROLCHR (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m (Created page with 'The '''_CONTROLCHR''' function returns the current state of the _CONTROLCHR statement as 1 when OFF and 0 when ON. {{PageSyntax}} :::status% = _CONTROLCHR * The function…')
 
imported>SMcNeill
([[)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''_CONTROLCHR''' function returns the current state of the [[_CONTROLCHR]] statement as 1 when OFF and 0 when ON.
+
{{DISPLAYTITLE:_CONTROLCHR (function)}}
  
 +
The [[_CONTROLCHR (function)|_CONTROLCHR]] function returns the current state of the [[_CONTROLCHR]] statement as -1 when OFF and 0 when ON.
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
:::status% = _CONTROLCHR
+
:{{Parameter|status%}} = [[_CONTROLCHR (function)|_CONTROLCHR]]
  
  
 +
{{PageDescription}}
 
* The function requires no parameters.
 
* The function requires no parameters.
 
* Default return is 0 when the _CONTROLCHR statement has never been used previous to a function read.
 
* 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(1), the characters can be printed as text without screen formatting.
+
* When the statement has been use to turn OFF control characters, the characters can be printed as text without screen formatting.
  
  
 
{{PageSeeAlso}}
 
{{PageSeeAlso}}
 
* [[_CONTROLCHR]]
 
* [[_CONTROLCHR]]
 +
* [[CHR$]], [[ASC]]
 +
* [[INKEY$]], [[_KEYHIT]]
 +
* [[ASCII]] {{text|(codes)}}
  
  
  
 
+
{{PageNavigation}}
{{PageNavgation}}
 

Latest revision as of 13:53, 5 September 2017


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:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page