$FUNCNAME$
  MAXCOL()
$CATEGORY$
  TERMINAL/IO
$SUMMARY$
   Determine the maximum visible screen column
$LANG_RU$
      ,   .
$SYNTAX$
     MAXCOL() --> nColumn
$LANG_RU$
     MAXCOL() -->  
$RETURNS$
     MAXCOL() returns the column number of the rightmost visible column for
     display purposes.
$LANG_RU$
     MAXCOL()      .
$DESCRIPTION$
     MAXCOL() is a screen function that determines the maximum visible column
     of the screen.  Row and column numbers start at zero in xClipper.

     If you use a C or other extended function to set the video mode, use the
     SETMODE() function so your xClipper application returns the correct
     value for MAXCOL().
$LANG_RU$
     MAXCOL()     ,  
           .
      xClipper       .
$EXAMPLES$
       This example uses MAXROW() and MAXCOL() to determine the area
	in which to draw a box, and then executes DBEDIT() within the box
	region:

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

       CLS
       @ 0, 0 TO MAXCOL(), MAXROW() DOUBLE
       DBEDIT( 1, 1, MAXROW() + 1, MAXCOL() - 1)
$SEEALSO$
  COL(),MAXROW(),ROW()
$END$
