RESTORE WINDOW Command Example

In the following example, a window named wOutput1 is defined and saved to a variable. All windows are cleared and the window named wOutput1 is restored and activated.

CLEAR
DEFINE WINDOW wOutput1 FROM 2,1 TO 13,75 TITLE 'Output' ;
   CLOSE FLOAT GROW ZOOM
SAVE WINDOW wOutput1 TO temp
CLEAR WINDOWS
RESTORE WINDOW wOutput1 FROM temp
ACTIVATE WINDOW wOutput1 
WAIT "The window wOutput1 has been restored" WINDOW
RELEASE WINDOW wOutput1