Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_setmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_SETMODE()
 Set the video mode
------------------------------------------------------------------------------

 Syntax

      FT_SETMODE( <nMode> ) -> NIL

 Arguments

     <nMode> is one of the DOS video modes.

 Returns

     NIL

 Description

     Use this function to put your display adapter into a video mode.
     Uses DOS interrupt 10h to set the mode.  For a table of modes
     available on various graphics adapters, refer to a book such
     as Wilton's "Programmer's Guide to PC & PS/2 Video Systems"
     (Microsoft Press)

 Examples

        FUNCTION Main( cMode )

          FT_SETMODE( VAL( cMode ) )
          QOUT( "Video mode is: " + STR( FT_GETMODE() ) )
          RETURN ( NIL )

 Source: VIDMODE.PRG

 Author: Glenn Scott

See Also: FT_ADAPTER()

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