WINDOW SAVE
Save Thoroughbred Basic Window
This directive removes the current Thoroughbred Basic Window, saving it with a specified name, and reverting to the last known screen and position before this Thoroughbred Basic Window was activated.
Syntax
Section titled “Syntax”WINDOW SAVE ([POP,] TBWin-name )POP- is an optional keyword indicating the removal of the Thoroughbred Basic Window when it is saved.
TBWin-name- is a string of one to eight characters specifying the name under which this Thoroughbred Basic Window is saved and called.
Remarks
Section titled “Remarks”This directive is generally available starting with release level 8.2.
The name of the Thoroughbred Basic Window being saved is replaced by the new TBWin-name specified.
Saving the main Thoroughbred Basic Window with the POP option results in an ERR=72.
Saving a Thoroughbred Basic Window with a name that is already used in some other Thoroughbred Basic Window results in an ERR=88.
If you use this directive but Thoroughbred Basic Windows is not enabled, an ERR=70 results. For information on how to enable Thoroughbred Basic Windows, please refer to the information on TCONFIG files and IPL files in the chapter on System Files in the Thoroughbred Basic Customization and Tuning Guide.
If this task is configured for Thoroughbred Basic Windows, only the standard set of Thoroughbred Basic terminal mnemonics should be used to send output to the terminal. Using direct hexadecimal escape sequences to control the terminal screen may cause the Thoroughbred Basic Windows Manager to lose knowledge of cursor position and character attributes. For more information on terminal mnemonics, please refer to the Thoroughbred Basic Customization and Tuning Guide.
Examples
Section titled “Examples”WINDOW SAVE (POP, "SNAPSHOT")saves the currently active Thoroughbred Basic Window with all its characters, colors and attributes, under the name SNAPSHOT and refreshes the screen in the area vacated by the removal of this Thoroughbred Basic Window.
WINDOW SAVE ("SNAP")saves the currently active Thoroughbred Basic Window with all its characters, colors and attributes, under the name SNAP and keeps a copy of the Thoroughbred Basic Window, with its original name, on the screen.
See also
Section titled “See also”Other WINDOW directives
Additional WIN functions
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF