In addition to the Start Field Extended to set attributes, the Set Attribute (SA) order may be used to set the same attributes. The format of the SA order is:
Command Name | Value | Parameter 1 | Parameter 2 |
SA | 28 | Attribute Type | Attribute Value |
The Attributes for SA are the same as those used with SFE. SA will not start a new field so the SF order must be used to start a new field. The SA order can then be used to specify field attributes.
Type Code | Extended Attribute Type |
41 | Extended Highlighting |
42 | Color |
The extended highlighting attribute defines the following characteristics. Only one extended highlighting attribute can be specified.
Attribute Value |
Attribute Meaning |
00 | Default |
F1 | Blink |
F2 | Reverse Video |
F4 | Underscore |
The color extended attribute type is used to override the default color for a field.
Attribute Value | Color |
00 | Default |
F1 | Blue |
F2 | Red |
F3 | Pink |
F4 | Green |
F5 | Turquoise |
F6 | Yellow |
F7 | White |
Start New Field | Set Reverse Video | Set Color Yellow | |||||
SF | Protected | SA | Extended Highlighting | Reverse Video | SA | Color | Yellow |
1D | F0 | C0 | 41 | F2 | F2 | 42 | F6 |