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.
gettextcolor
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The gettextcolor function returns the attribute (color index) of
     the current text color. The text color is set only by the
     settextcolor function and affects only text output with the outtext
     function. Use the setcolor function to set the color for text
     output with the outgtext function.
 
     The default is the highest legal color index of the current palette
     in graphics mode, or 7 in text mode.
 
     Return Value
 
     Returns the attribute (color index) of the current text color.
                                    -♦-