[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| SAVE WINDOW |
+---------------------------------+
SAVE WINDOW <window list> | ALL
TO <file>
| TO MEMO <memo field>
-----------------------------------
Saves window definitions to a file or memo field.
-----------------------------------
SAVE WINDOWS saves current window definitions to a file or a memo field.
Window definitions may be later restored with RESTORE WINDOW. A
window's status is also saved to the file or memo field. For example,
if a window was hidden when it was saved to a file or memo field with
SAVE WINDOWS, it will remain hidden when it is restored.
<window list>
One or more windows to be saved.
ALL
Saves all current window definitions.
TO <file>
Saves the window definitions to the specified file. A default
extension of .WIN is assigned to window files if you do not specify an
extension when naming the file. If you specify an extension other than
.WIN when saving windows to a file, you must include that extension when
using RESTORE WINDOW.
TO MEMO <memo field>
Saves the window definitions to the specified memo field.
+---------------------------------+
| Example |
+---------------------------------+
CLEAR
DEFINE WINDOW output FROM 2,1 TO 13,75 TITLE 'Output' ;
CLOSE FLOAT GROW SHADOW ZOOM
ACTIVATE WINDOW output
@ 1,1 SAY 'This is the contents of the window'
SAVE WINDOW output TO temp
CLEAR WINDOWS
WAIT 'The window has been saved - Press a key' WINDOW
RESTORE WINDOW output FROM temp
ACTIVATE WINDOW output
WAIT 'The window has been restored - Press a key' WINDOW
DEACTIVATE WINDOW output
RELEASE WINDOW output
In this example, a window named OUTPUT is defined, then saved to a
window definition file named TEMP. All windows are cleared, then output
is restored from the file and activated.
-----------------------------------
See Also: DEFINE WINDOW, RESTORE WINDOW, SAVE SCREEN, RESTORE SCREEN
-----------------------------------
See Also:
DEFINE WINDOW
RESTORE WINDOW
SAVE SCREEN
RESTORE SCREEN
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson