Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>setblink()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETBLINK()
 Toggle asterisk (*) interpretation in the SETCOLOR() string between blinking
 and background intensity
------------------------------------------------------------------------------
 Syntax

     SETBLINK([<lToggle>]) --> lCurrentSetting

 Arguments

     <lToggle> changes the meaning of the asterisk (*) character when it
     is encountered in a SETCOLOR() string.  Specifying true (.T.) sets
     character blinking on, and false (.F.) sets background intensity.  The
     default is
     true (.T.).

 Returns

     SETBLINK() returns the current setting as a logical value.

 Description

     SETBLINK() is an environment function that toggles the
     blinking/background intensity attribute and reports the current state of
     SETBLINK().  When SETBLINK() is on, characters written to the screen can
     be made to blink by including an asterisk (*) in a color string passed
     to SETCOLOR().  When SETBLINK() is off, the asterisk (*) causes the
     background color to be intensified instead.  Thus, blinking and
     background intensity attributes are not available at the same time.

     Note:  This function is meaningful only on the IBM PC or compatible
     computers with CGA, EGA, or VGA display hardware.

 Examples

     .  This example saves the current SETBLINK() state before passing
        control to a user-defined function.  Upon return, SETBLINK() is
        restored to its original value:

        lOldBlink := SETBLINK()
        MyFunc()
        SETBLINK(lOldBlink)

 Files   Library is CLIPPER.LIB.


See Also: SET COLOR* SETCOLOR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson