DECLARE-COLOR-MAP

Function

Defines colors in an Production Reporting report.

Syntax

In the SETUP section:

DECLARE-COLOR-MAP
		color_name=({rgb})
color_name=({rgb})
.
.
.
END-DECLARE 

Arguments

color_name

A color_name is composed of the alphanumeric characters (A-Z, 0-9), the underscore (_) character, and the dash (-) character. It must start with an alpha (A-Z) character. It is case insensitive. The name 'none' is reserved and cannot be assigned a value. A name in the format (RGBredgreenblue) cannot be assigned a value. The name 'default' is reserved and can be assigned a value. 'Default' is used during execution when a referenced color is not defined in the runtime environment.

{rgb}

red_lit|_var|_col, green_lit _var|_col, blue_lit|_var|_col where each component is a value in the range of 000 to 255. In the BEGIN-SETUP section, only literal values are allowed.

Default colors implicitly installed with Production Reporting include:

black = (0,0,0)

white=(255,255,255)

gray=(128,128,128)

silver=(192,192,192)

red=(255,0,0)

green=(0,255,0)

blue=(0,0,255)

yellow=(255,255,0)

purple=(128,0,128)

olive=(128,128,0)

navy=(0,0,128)

aqua=(0,255,255)

lime=(0,128,0)

maroon=(128,0,0)

teal=(0,128,128)

fuchsia=(255,0,255)

Description

DECLARE-COLOR-MAP in the BEGIN-SETUP section defines or redefines colors in an Production Reporting report. You can define an endless number of entries.

Examples

begin-setup
  declare-color-map
    light_blue = (193, 222, 229)
  end-declare
end-setup

See Also

ALTER-COLOR-MAP, GET-COLOR, and SET-COLOR