DADiSP Worksheet Functions > Function Categories > Worksheet Control > REMOVEWINDOW

 

REMOVEWINDOW

Purpose:

Removes the indicated number of Windows from the Worksheet starting with the current Window.

Syntax:

REMOVEWINDOW(win, num)

win

-

An optional Window, the starting Window for removal. Defaults to the current Window.

num

-

An integer. The number of Windows to remove from the Worksheet.

Example:

removewindow(3)

 

Removes three Windows starting with the current Window. If Window 6 is current, then Windows 6 through 8 are removed from the Worksheet.

Example:

removewindow(W2, 3)

 

Removes three Windows starting with Window 2.

Example:

removewindow(-1)

 

Removes all the Windows in a Worksheet.

Remarks:

The current Window is indicated by the position of the Window cursor.

 

REMOVEWINDOW can be abbreviated REMOVEWIN.

See Also:

ADDWINDOW

NEWWORKSHEET