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>cls() video function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CLS()                                                       Video Function
 Purpose..: Clear the screen without changing Clipper colors
-------------------------------------------------------------------------------
 Syntax...: Cls( [<uColor>] ) --> NIL

 Arguments: [<uColor>]    = 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
            whole screen with the given color attribute.
            It does not change Clipper's color settings.
            Like all of these functions, it uses direct video
            writes for speed.

 Source...: CLS.C
-------------------------------------------------------------------------------
 Example..: The example will clear the entire screen with colors
            to bright white on top of magenta.

                Cls( 165 )

            OR

                Cls( "W+/RB" )

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

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