ContentsIndexPreviousNext

FOREGROUND_INTENSITY

Use this variable to set the default foreground intensity.

0 The runtime uses the default intensity for the output device. For both MS-DOS and Windows, this default is low-intensity.

1 The runtime uses low-intensity.

2 The runtime uses high-intensity.

If your program specifies a default intensity, then the runtime never assigns high-intensity if the foreground is black. As with the background, we do this to prevent a washed-out appearance. There's one exception to this rule. The runtime assigns high-intensity to a black foreground if the output device does not support independent background intensities. In this case, the device typically shows the background in high-intensity and keeps the foreground black. Note that if your program explicitly sets high-intensity, then that is used regardless of the foreground color. The default value for this variable is "0".