WINDOW Mnemonic - Create a Window (Terminal Device)
Syntax
'WINDOW'(col,row,cols,rows{,titlestr{,attribstr}})
Description
For BBj-specific information, see the WINDOW Mnemonic - Create a Window (Terminal Device).
The 'WINDOW' mnemonic creates a terminal window. A limit of 255 windows can be created.
Parameter |
Description |
col |
Column to serve as the upper-left starting point for the window. |
row |
Row to serve as the upper-left starting point for the window. |
cols |
Height of the window in rows. This can exceed the physical dimensions of the screen but cannot exceed 255 characters. |
rows |
Width of the window in columns. This can exceed the physical dimensions of the screen but cannot exceed 255 characters |
titlestr |
Title text to be drawn within the top horizontal bar of the window region if there is sufficient space. After the window is drawn, a scroll region is defined in its interior to protect the border. |
attribstr |
String of mnemonics to be executed prior to either the box printing or the titlestr being printed. |
If there is insufficient memory available to contain the new window, text, and attributes, an !ERROR=33 is generated.