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 Tools . Books 1-3 - <b>numcol()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NUMCOL()
 Restores the number of available screen columns
------------------------------------------------------------------------------
 Syntax

     NUMCOL() --> nColumn

 Returns

     NUMCOL() returns the number of columns available on the screen or in the
     current window, under CA-Clipper.

 Description

     Use NUMCOL() to establish screen width to determine the line break for
     output.

     NUMCOL() receives its return value from the BIOS and then, in
     conjunction with DSETWINDOW(), returns the number of columns on the
     physical screen or for a window.

 Example

     Column count for the open window:

     WOPEN(10, 10, 20, 70)     // Open window
     SETWINDOW(.T.)            // Default
     ? NUMCOL()                // 61 columns
     DSETWINDOW(.F.)           // Do not reroute external output?
     NUMCOL()                  // 80 columns


See Also: MAXCOL() MAXROW() CGA40() SETMAXCOL()

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