Skip to content

WINDOW SWAP

Exchange Active Status

This directive makes the previously active Thoroughbred Basic Window active and swaps it with the currently active Thoroughbred Basic Window. It is possible to bounce back and forth between two Thoroughbred Basic Windows using this single directive.

WINDOW SWAP

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 SWAP

makes the previously active Thoroughbred Basic Window now active, refreshing the terminal screen to its state when that Thoroughbred Basic Window was last active, and makes the currently active Thoroughbred Basic Window become the previously active 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