BLINK (function): Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(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. {{PageSyntax}} : {{Parameter|blinkState%%}} = _BLINK ==Availability== * Build 20170816/61 up (August 16, 2017). {{PageExamples}} {{CodeStart}}{{Cl|COLOR}} 16, 7 'Try uncommenting the line below: '{{Cl|_BLINK}} OFF {{Cl|IF}} _BLINK {{Cl|THEN}} {{Cl|PRINT}} "I'm blinking" {{Cl|ELSE}} {{C...")
 
m (Protected "BLINK (function)" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(No difference)

Revision as of 20:53, 29 April 2022

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:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link