Chapter Contents

Previous

Next
SAS Companion for the OpenVMS Operating Environment

Using Special Character Attributes

SAS software enables you to set the color and highlight attributes of text in some windows. For example, in the Notepad window or in your SAS/AF or SAS/FSP applications, you can turn on character underlining or reverse video to highlight a title. Character attributes are listed in Selector Characters for Character Attributes. To select an attribute, press and hold the Modifier 1 key on your keyboard (usually labeled "Meta," "Alt," "Hyphen," or "Extend char"). Then, press the attribute key (for example, 1).

Selector Characters for Character Attributes
Selector Character Function
0 Turns off all attributes.
1 Turns on bold.
2 Turns on underlining.
3 Turns on reverse video.
4 Turns on blinking.
A Sets color to gray.
B Sets color to blue.
C Sets color to cyan.
G Sets color to green.
K Sets color to black.
M Sets color to magenta.
N Sets color to brown.
O Sets color to orange.
P Sets color to pink.
R Sets color to red.
W Sets color to white.
Y Sets color to yellow.

Alternatively, you can use the COLOR command to combine several of these steps in one command. For more information about the COLOR command, see COLOR.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.