forlang.hlp (Table of Contents; Topic list)
getvideoconfig
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The getvideoconfig subroutine returns the current graphics
     environment configuration in a videoconfig structure (defined in
     FGRAPH.FD). The structure is returned in the <config> argument.
 
     See also: The videoconfig Structure
 
     The values returned reflect the currently active monitor and the
     currently specified video mode.
 
     In every text mode, including monochrome, the getvideoconfig
     subroutine returns the value 32 for the number of available colors.
     The value 32 indicates the range of values (0-31) accepted by the
     settextcolor function. This includes sixteen normal colors (0-15)
     and sixteen blinking colors (16-31). Blinking is selected by adding
     16 to the normal color value.
 
     Monochrome text mode has fewer unique display attributes, so some
     color values are redundant. However, because blinking is selected
     in the same manner, monochrome text mode has the same range (0-31)
     as other text modes.
 
     Return Value
 
     None.
                                    -♦-