Previous Page | Next Page

SAS Component Language Dictionary

WDEF



Resizes the active window
Category: Window

Syntax
Details
Example
See Also

Syntax

CALL WDEF(start-row,start-col,num-rows,num-cols);

start-row

is the starting row for the window.

Type: Numeric

start-col

is the starting column for the window.

Type: Numeric

num-rows

is the number of rows for the window.

Type: Numeric

num-cols

is the number of columns for the window.

Type: Numeric


Details

The active window is redefined and displayed in the area specified by WDEF. The WDEF routine performs the same function as the WDEF command. See the SAS online Help for more information about the WDEF command.

For windows that are not of type STANDARD, you must call WDEF before the window is displayed.

WDEF is frequently used to define a smaller size for a window that will be displayed along with a legend window.


Example

Use WDEF to resize the current window to occupy the bottom half of the window before calling another program. The other program is sized to display in the top half of the window. Then, return the window back to its original size.

call wdef(13,1,12,80);
call wregion(1,1,11,80);
call display('tophalf.program');
call wdef(1,1,24,80);


See Also

WINFO

WREGION

Previous Page | Next Page | Top of Page