FT_GETMODE()
Get the video mode
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_GETMODE() -> nVMode

Arguments

None.

Returns

The video mode, as a numeric.

Description

Use this function to find out what mode your display adapter is in.
Uses DOS interrupt 10h to get 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