Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>set the video mode</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Set the video mode
------------------------------------------------------------------------------

 Syntax

        GT_VideoMode( nRows , nCols )

 Arguments:

      nRows - Number of screen rows
      nCols - Number of screen cols

 Returns:

      .T. if successful
      .F. if failed

 Description:

      The video mode is set to nRows * nCols.  If this fails, the mode should
      not change.

      The following constants are currently available :

      Rows                Columns
      V_EGA       43      V_SINGLE    80
      V_VGA       50      V_DOUBLE    40
      V_NORMAL    25      V_NOCHANGE  0


 Examples:



 Source: VIDEOMOD.PRG

 Author:  Martin Colloby

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