Chapter Contents

Previous

Next
DMWINDOW

DMWINDOW



Sets the color and highlighting for lines in the OUTPUT and LOG windows

Category: Window


Syntax
Details
Example

Syntax

rc=DMWINDOW(window-name,line-type,color,attribute);

rc
contains the return code for the operation:
0 successful
[ne]0 not successful

Type: Numeric

window-name
is the window for which you want to assign colors and display attributes:

'OUTPUT'
the OUTPUT window

'LOG'
the LOG window

Type: Character

line-type
is the output area to which the colors and highlighting attributes are to be assigned:

'DATA'
Data line

'ERROR'
Error line

'NOTES'
Notes line (LOG window only)

'SOURCE'
Source line (LOG window only)

'WARNING'
Warning line (LOG window only)

'BYLINE'
Byline line (OUTPUT window only)

'HEADER'
Header line (OUTPUT window only)

'TITLE'
Title line (OUTPUT window only)

Type: Character

color
is a color name: BLACK, BLUE, BROWN, CYAN, GRAY, GREEN, MAGENTA, ORANGE, PINK, RED, WHITE, or YELLOW. SASCOLOR window elements can also be used for color.

Type: Character

attribute
is a display attribute: NONE, BLINKING, HIGHLIGHT, HIREV, REVERSE, or UNDERLINE. If you specify a SASCOLOR window element for color, then attribute is ignored, because the SASCOLOR window element contains a display attribute.

Type: Character


Details

The device must support the specified color or highlighting attribute in order for SAS to enable the attribute.


Example

Set the highlighting attribute of the title line in the OUTPUT window to blinking and set its color to yellow:

rc=dmwindow('output','title','yellow','blinking');


Chapter Contents

Previous

Next

Top of Page

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