Difference between revisions of "BLINK (function)"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
m (-)
imported>SMcNeill
([[]])
Line 1: Line 1:
{{DISPLAYTITLE:_BLINK (function)}}
{{DISPLAYTITLE:_BLINK (function)}}
The {{KW|_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}}
: {{Parameter|blinkState%%}} = {{KW|_BLINK}}
: {{Parameter|blinkState%%}} = [[_BLINK]]





Revision as of 13:35, 5 September 2017

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 up (August 16, 2017).


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