[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson