BLINK (function): Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
m (Removed protection from "BLINK (function)")
No edit summary
Line 8: Line 8:


{{PageAvailability}}
{{PageAvailability}}
* '''QB64 1.2 and up''' (QB64 Team)
* '''QB64 v1.2 and up'''
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
* '''QB64-PE all versions'''





Revision as of 23:32, 10 January 2023

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


Syntax

blinkState%% = _BLINK


Availability

  • QB64 v1.2 and up
  • QB64-PE all versions


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