Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>clsat() video function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CLSAT()                                                     Video Function
 Purpose..: Clear a rectangle without changing Clipper colors
-------------------------------------------------------------------------------
 Syntax...: ClsAt( [<nTRow>], [<nLCol>], [<nBRow>],
                   [<nRCol>], [<nColor>] ) --> NIL

 Arguments: [<nTRow>]     = Top row.
            [<nLCol>]     = Left column.
            [<nBRow>]     = Bottom row.
            [<nRCol>]     = Right column.
            [<nColor>]    = Integer or usual character string
                            representing a color attribute.
                            The integer formula is ...nFore + ( nBack * 16 )
                            The default is black.

 Returns..: NIL

 Remark...: It is a high speed function used to clear the screen
            at the given co-ordinates with the given color attribute.
            It does not change Clipper's color settings.

 Source...: CLSAT.C
-------------------------------------------------------------------------------
 Example..: Both examples will clear a portion of the screen
            to bright white on top of magenta. Entering
            one or more co-ordinates will clear the rectangle.
            Like all of these functions, it uses direct video
            writes for speed.

                ClsAt( 1, 3, 18, 4, 165 )
                ClsAt( 16, 30, , , 165 )

            OR

                Cls( 1, 3, 18, 4, "W+/RB" )
                Cls( 16, 30, , , "W+/RB" )

See Also: PrintStr() PrintChr() ClrTable() Cls() wClear()

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