Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 NOV 1992 | 3.0+ | EXPERT | HIGHLIGHT, INPUT.CHAR |
A slightly confusingly named function that takes a passed escape sequence and an on/off flag and returns the blinking/non-blinking version of the escape sequence accordingly. It can thus be used to "unblink" a blinking escape sequence to ensure easier to read display or to "blink" an unblinking escape sequence. To illustrate usage try the small code fragment below:
Declare Function HighLight Equ Off$ To 0 Equ On$ To 1 NonBlink = \1B\ : "C1N" Blink = \1B\ : "C9N" Print NonBlink : "NonBlink Normal" Print Blink : "Blink Normal" Print Highlight(NonBlink, Off$) : "NonBlink Off" Print Highlight(NonBlink, On$) : "NonBlink On" Print Highlight(Blink, Off$) : "Blink Off" Print Highlight(Blink, On$) : "Blink On" Call Input.Char(X)
(Volume 4, Issue 6, Page 8)