mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
31 lines
593 B
Text
31 lines
593 B
Text
{{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]]
|
|
|
|
|
|
{{PageAvailability}}
|
|
* Build 20170816/61 and up.
|
|
|
|
|
|
{{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}}
|
|
{{Cl|PRINT}} "I'm not blinking"
|
|
{{Cl|END IF}}
|
|
{{CodeEnd}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_BLINK]] (statement)
|
|
* [[OUT]]
|
|
|
|
{{PageNavigation}}
|