forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
getbkcolor
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The getbkcolor function returns the current background color. The
     default background color is 0.
 
     In a color text mode (such as $TEXTC80), getbkcolor returns a color
     index. In a color graphics mode (such as $ERESCOLOR), getbkcolor
     returns a color value (as used in remappalette).
     See Graphic Mode Colors
 
     In most cases, whenever a color argument is INTEGER*4, it refers to
     a color value; and whenever it is INTEGER*2, it refers to an
     attribute or color index. The two exceptions are setbkcolor and
     getbkcolor.
 
     Return Value
 
     The function returns the current background color value.
                                    -♦-