$FUNCNAME$
  SETMODE()
$CATEGORY$
  TERMINAL/IO
$SUMMARY$
   Change display mode to a specified number of rows and columns
$LANG_RU$
      ,     .
$SYNTAX$
     SETMODE(<nRows>, <nCols>) --> lSuccess
$LANG_RU$
     SETMODE(<- >, <- >) -->  
$ARGUMENTS$
     <nRows> is the number of rows in the desired display mode.
     <nCols> is the number of columns in the desired display mode.
$LANG_RU$
     <- > -      
     .
     <- > -     
      .
$RETURNS$
     SETMODE() returns true (.T.) if the mode change was successful;
     otherwise, it returns false (.F.).
$LANG_RU$
     SETMODE()   "" (.T.),   
      ,   ,  "" (.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().

     Note:  In LLG_VIDEO_TXT mode, and when a VESA driver is present, it
     is possible to use the following values :
     25,80 | 43,80 | 50,80 | 60,80 | 25,132 | 43,132 | 50,132 | 60,132
$LANG_RU$
     SETMODE() -   ,   
       ,   
        .    
        MAXROW()  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

       This example switches the video mode to regular text mode with
	60 rows and 132 columns:

	// Switch to text mode
	SET VIDEOMODE( LLG_VIDEO_TXT )
	// Set the video mode to the largest number of characters
	SETMODE( 60,132 )
$LANG_RU$
              43
       :

       IF SETMODE(43,80)
	  ? "  43   "
       ELSE
	  ? "  43   "
       END
$SEEALSO$
  MAXCOL(),MAXROW()
$END$
