Difference between revisions of "CONTROLCHR (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>SMcNeill
(style guidelines)
Line 1: Line 1:
 
{{DISPLAYTITLE:_CONTROLCHR (function)}}
 
{{DISPLAYTITLE:_CONTROLCHR (function)}}
  
The '''_CONTROLCHR''' function returns the current state of the [[_CONTROLCHR]] statement as 1 when OFF and 0 when ON.
+
The {{KW|_CONTROLCHR (function)|_CONTROLCHR}} function returns the current state of the {{KW|_CONTROLCHR}} statement as -1 when OFF and 0 when ON.
 
 
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
:::status% = _CONTROLCHR
+
:{{Parameter|status%}} = {{KW|_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.
  
  

Revision as of 03:49, 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