DISPLAY-AT

Specify a default foreground and background color for DISPLAY AT and ACCEPT AT statements that do not specify any color attributes.

Syntax:

>>-.---.----.---DISPLAY-AT-"fore-col back-col"--.-----><
   +-/-+    +-NODISPLAY-AT----------------------+  

Parameters:

fore-col
Sets the foreground color. Select an integer (0-15) from the following:

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

back-col
Sets the background color. Select an integer (0-15) from the table above.

Properties:

Default: NODISPLAYAT
Phase: Syntax check
$SET: Initial

Comments:

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.