WINDOW <CLOSE=window-name> <*>window-options <*>GROUP=group-name field-specs <*>…GROUP=group-name field-specs ;
The WINDOW statement defines and opens a window on the display and can include a number of fields. The DISPLAY statement actually writes values to the window. This call is part of the traditional graphics subsystem, which is no longer being developed.
The following fields can be specified in the WINDOW statement:
Both the WINDOW statement and the DISPLAY statement accept field specifications, which have the following general form:
<positionals> field-operand <format> <field-options> ;
The arguments to these statements are as follows:
are directives determining the position on the screen to begin the field. There are four kinds of positionals; any number of positionals are accepted for each field operand.
specifies the row position; that is, it moves the current position to column 1 of the specified line. The operand is either a number, a name, or an expression in parentheses.
specifies that the current position move to column 1 of the next row.
specifies the column position. The operand is either a number, a name, or an expression in parentheses. The @ directive should come after the # position if # is specified.
specifies a skip of columns. The operand is either a number, a name, or an expression in parentheses.
is a character literal in quotes or the name of a variable that specifies what is to go in the field.
is the format used for display, the value, and the informat applied to entered values. If no format is specified, then the standard numeric or character format is used.
specify the attributes of the field as follows: