RESTORE WINDOW

From Recital Documentation Wiki
Revision as of 16:25, 12 November 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Restore windows from a file


Syntax

RESTORE WINDOW <window-name> | <window-name list> | ALL FROM <.win filename>


See Also

ACTIVATE SCREEN, ACTIVATE WINDOW, CLEAR WINDOWS, DEACTIVATE WINDOW, DEFINE WINDOW, HIDE WINDOW, MOVE WINDOW, MODIFY MEMO, RELEASE WINDOWS, RESIZE WINDOW, SAVE WINDOW, SHOW WINDOW, SET COMMANDWINDOW, SET ERRORWINDOW, SET STATUS, SET TRACEWINDOW, SET WINDOW OF EDIT, SET WINDOW OF MEMO, WCOLS(), WEXIST(), WONTOP(), WOUTPUT(), WROWS(), WTITLE(), WVISIBLE()


Description

The RESTORE WINDOW command restores windows to memory from a file that was created with the SAVE WINDOW command. A window is an area of the screen designated for output and input. There is no limit to the number of defined windows. Windows are created with the DEFINE WINDOW command and activated with the ACTIVATE WINDOW command. The SAVE WINDOW command saves windows to a file with a '.win' extension.

You may restore a single window, a group of windows, or all the windows in the window file. The <window-name> is the name of the window as specified in the DEFINE WINDOW command. To restore a group of windows, use the <window-name list>, which is a list of window names each separated by a comma. To restore all currently defined windows, use the ALL keyword. Windows are restored with the same status they had when last stored with the SAVE WINDOW command. Windows being restored will overwrite any current window with the same name.


Example

clear windows
restore window sales from stats
activate window sales


Products

Recital