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