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.2 . The Guide To CA-Clippe - <b>setmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SETMODE()
 Change display mode to a specified number of rows and columns
------------------------------------------------------------------------------
 Syntax

     SETMODE(<nRows>, <nCols>) --> lSuccess

 Arguments

     <nRows> is the number of rows in the desired display mode.

     <nCols> is the number of columns in the desired display mode.

 Returns

     SETMODE() returns true (.T.) if the mode change was successful;
     otherwise, it returns false (.F.).

 Description

     SETMODE() is an environment function that attempts to change the mode of
     the display hardware to match the number of rows and columns specified.
     The change in screen size is reflected in the values returned by
     MAXROW() and MAXCOL().

 Examples

     .  This example switches to a 43-line display mode:

        IF SETMODE(43, 80)
           ? "43-line mode successfully set"
        ELSE
           ? "43-line mode not available"
        ENDIF

 Files:  Library is CLIPPER.LIB.

See Also: MAXCOL() MAXROW()

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