DADiSP Worksheet Functions > Function Categories > Worksheet Control > ADDWINDOW

 

ADDWINDOW

Purpose:

Adds the indicated number of Windows to the Worksheet after the current Window.

Syntax:

ADDWINDOW(win, num)

win

-

An optional Window, the starting Window to insert new Windows. Defaults to the current Window.

num

-

An integer. The number of Windows to add to the Worksheet.

Returns:

The total number of Windows in the Worksheet.

Example:

addwindow(3)

 

adds three Windows after the current Window. If Window 6 is current, three Windows will be added after Window 6.

 

addwindow(W2, 4)

 

Adds four Windows after Window 2.

Remarks:

The current Window is indicated by the position of the cursor. ADDWINDOW can be abbreviated ADDWIN.

See Also:

REMOVEWINDOW