Specify a default foreground and background color for DISPLAY AT and ACCEPT AT statements that do not specify any color attributes.
>>-.---.----.---DISPLAY-AT-"fore-col back-col"--.----->< +-/-+ +-NODISPLAY-AT----------------------+
0 - black 1 - blue 2 - green 3 - cyan 4 - red 5 - magenta 6 - brown or yellow 7 - white |
8 - grey 9 - light blue 10 - light green 11 - light cyan 12 - light red 13 - light magenta 14 - yellow 15 - high intensity white |
Default: | NODISPLAYAT |
Phase: | Syntax check |
$SET: | Initial |
The default Micro Focus behavior for DISPLAY AT when no color has been specified is to use the colors already existing on the screen (see The DISPLAY Statement for more information).
This directive may be useful for emulation of DISPLAY AT behavior from other COBOL systems where the color attributes get reset when not specified in syntax.