DADiSP Worksheet Functions > Function Categories > Worksheet Control > REMOVEWINDOW
Removes the indicated number of Windows from the Worksheet starting with the current Window.
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. |
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.
removewindow(W2, 3)
Removes three Windows starting with Window 2.
removewindow(-1)
Removes all the Windows in a Worksheet.
The current Window is indicated by the position of the Window cursor.
REMOVEWINDOW can be abbreviated REMOVEWIN.