- 4.8.2.20. -
Table of Contents
4. Standard Units
4.8. CRT - Keyboard and monitor control routines
4.8.2. CRT Unit Procedures and Functions
4.8.2.20. TextColor procedure
4.8.2.20. TextColor procedure
Targets: MS-DOS, OS/2, Win32
CRT Unit, WinCRT Unit
Selects the foreground character color.
Declaration:
procedure TextColor(Color: Byte);
Remarks:
Color is an integer expression in the range 0..15,
corresponding to one of the text color constants defined in CRT.
MS-DOS target:
TextColor sets bits 0-3 to Color.
If Color is greater than 15, the blink bit (bit 7) is also set;
otherwise, it is cleared.
See also:
Color Constants
- 4.8.2.20. -