COLOR
|
Where
color_specification is
a string constant taken from the following list:
- BLUE
- FIELD
- GREEN
- PINK
- RED
- TURQUOISE
- WHITE
- YELLOW
Function
The COLOR statement simulates the action of the 3270 key that selects the color for displaying data. This statement is valid only for 3270 or LU Type 2 simulations.
If you do not code the COLOR statement, the extended field attribute byte value determines the color.
Use the "FIELD" string constant to select the color defined by the extended field attribute byte.
Examples
type 'Hello' /* The color of "Hello" is determined by the */
/* extended field attribute. */
color 'red' /* Display the following data in red. */
type 'Goodbye' /* "Goodbye" will be red. */