Difference between revisions of "BLINK (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
(Created page with '{{DISPLAYTITLE:_BLINK (function)}} The _BLINK function returns the current blink setting for SCREEN 0 colors. If enabled, returns -1 (default), otherwise returns 0. {{PageSynta…')
 
m (Nomalise Availability section text)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:_BLINK (function)}}
{{DISPLAYTITLE:_BLINK (function)}}
The _BLINK function returns the current blink setting for SCREEN 0 colors. If enabled, returns -1 (default), otherwise returns 0.
The [[_BLINK]] function returns the current blink setting for SCREEN 0 colors. If enabled, returns -1 (default), otherwise returns 0.




{{PageSyntax}}
{{PageSyntax}}
: blinkState%% = _BLINK
: {{Parameter|blinkState%%}} = [[_BLINK]]




''Availability:''
{{PageAvailability}}
* Build 20170816/61 and up.


* Available from build 20170816/61 onwards.


 
{{PageExamples}}
''Example:''
{{CodeStart}}{{Cl|COLOR}} 16, 7
{{CodeStart}}
{{Cl|COLOR}} 16, 7


'Try uncommenting the line below:
'Try uncommenting the line below:
Line 25: Line 23:
{{Cl|END IF}}
{{Cl|END IF}}
{{CodeEnd}}
{{CodeEnd}}


{{PageSeeAlso}}
{{PageSeeAlso}}

Latest revision as of 03:15, 8 March 2021

The _BLINK function returns the current blink setting for SCREEN 0 colors. If enabled, returns -1 (default), otherwise returns 0.


Syntax

blinkState%% = _BLINK


Availability

  • Build 20170816/61 and up.


Examples

COLOR 16, 7 'Try uncommenting the line below: '_BLINK OFF IF _BLINK THEN PRINT "I'm blinking" ELSE PRINT "I'm not blinking" END IF


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page