Skip to content

WINDOW PUSH

Create Duplicate of Thoroughbred Basic Window

This directive creates a new Thoroughbred Basic Window, identical in attributes to the currently active Thoroughbred Basic Window, and places the cursor in the new Thoroughbred Basic Window.

WINDOW PUSH ["NAME=TBWin-name"]
TBWin-name
is an optional specifier that allows the developer to name the new Thoroughbred Basic Window. If this specifier is omitted the Thoroughbred Basic Windows Manager assigns a random, unique name to the new Thoroughbred Basic Window (an 8-byte string of a number).

This directive is generally available starting with release level 8.1.

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.

WINDOW PUSH "NAME=DOUBLE"

duplicates the current Thoroughbred Basic Window, with all its attributes, names it DOUBLE, displays this new Thoroughbred Basic Window, and places the cursor in the upper left corner of this new Thoroughbred Basic Window.

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