1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 11:40:38 +00:00
QB64-PE/internal/help/_BLINK.txt
SteveMcNeill 33adc04fc4 Add temp folder to repo. It's necessary as well!
Just more initial setting on... nothing much to see here.
2022-04-28 13:39:56 -04:00

37 lines
1.2 KiB
Plaintext

{{DISPLAYTITLE:_BLINK}}
The [[_BLINK]] statement toggles blinking colors in text mode (SCREEN 0). Default state is ON.
{{PageSyntax}}
: [[_BLINK]] {ON|OFF}
{{PageDescription}}
* SCREEN 0 emulates the VGA palette with regular colors from 0 to 15 and blinking colors from 16-31 (these are the same colors as 0-15, except their blink attribute is set to on). [[_BLINK]] OFF emulates writing to the video memory and disabling blinking for colors 16-31.
* Using colors 16-31 for the foreground with [[_BLINK]] set to OFF will produce high intensity background colors.
* [[_BLINK]] is only effective in SCREEN 0. It's ignored in graphic modes.
* IF [[_DISPLAY]] is used, blinking is disabled, even if _BLINK is ON, but high intensity backgrounds aren't enabled in this case.
==Availability:==
* Build 20170816/61 up (August 16, 2017).
{{PageExamples}}
{{CodeStart}}{{Cl|COLOR}} 16, 7
{{Cl|PRINT}} "This is printed in black over gray background. Black letters are blinking."
{{Cl|PRINT}} "Hit a key..."
{{Cl|SLEEP}}
{{Cl|_BLINK}} OFF
{{Cl|PRINT}} "Now the same text is printed in black over bright white, because blinking was disabled."
{{CodeEnd}}
{{PageSeeAlso}}
* [[_BLINK (function)]]
* [[OUT]]
* [[_DISPLAY]]
{{PageNavigation}}
<