Format
Function
Dynamically sets the field color attribute.
Parameters
EDIT-COLOR:
Specify the color attribute to be set. The values and their meanings are as follows:
(Blank): The field with the color attribute in the descriptor is output.
B: Blue.
R: Red.
P: Pink.
G: Green.
T: Cyan.
Y: Yellow.
W: White.
A: Black.
D: Gray
K: Dark blue
F: Dark red
J: Dark pink
E: Dark green
I: Dark cyan
C: Dark yellow
O: Dark gray
Example
Change the color of the character of the field name "R001" in the field group S001 to blue.
MOVE "SAMP" TO PRT-FORMAT. MOVE "B" TO EDIT-COLOR OF R001. MOVE "S001" TO PRT-GROUP. WRITE SAMP.