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>maxcol()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MAXCOL()
 Determine the maximum visible screen column
------------------------------------------------------------------------------
 Syntax

     MAXCOL() --> nColumn

 Returns

     MAXCOL() returns the column number of the rightmost visible column for
     display purposes.

 Description

     MAXCOL() is a screen function that determines the maximum visible column
     of the screen.  Row and column numbers start at zero in CA-Clipper.

     If you use a C or other extended function to set the video mode, use the
     SETMODE() function so your CA-Clipper application returns the correct
     value for MAXCOL().

 Examples

     .  This example uses MAXROW() and MAXCOL() to determine the area
        to draw a box then executes DBEDIT() within the box region:

        CLS
        @ 0, 0 TO MAXROW(), MAXCOL() DOUBLE
        DBEDIT(1, 1, MAXROW() + 1, MAXCOL() - 1)

 Files:  Library is CLIPPER.LIB.

See Also: COL() MAXROW() ROW()

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