1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_BLINK-(function).md
2022-12-24 21:14:48 -06:00

459 B

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.

Example(s)


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