.WFIELD

Define a general window field

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
.WFIELD name, LENGTH(length)|TEXT(text)[, POSITION(row, column)] [, rendition, ...] 

name

The name of the window field (a maximum of 30 characters).

LENGTH (length)

Specifies the length of the field.

TEXT (text)

Specifies the text in the window field.

POSITION (row, column)

(optional) The position specification for the field, indicating the row and column at which to position the field. If not specified, the current row and column position is used.

rendition

(optional) Used only with TEXT. One or more of the following display renditions:

BLINK | ITALIC

Blinking (on Unix and OpenVMS) or italic (on Windows).

NOBLINK | NOITALIC

Not blinking (on Unix and OpenVMS) or not italic (on Windows). (default)

BOLD

Highlighted (or boldfaced).

NOBOLD

Not highlighted (or boldfaced). (default)

COLOR(palette#)

Assign specified palette#, where palette# is a palette number in the range 1 to 16.

HIGHLIGHT

Highlighted (or boldfaced).

NOHIGHLIGHT

Not highlighted (or boldfaced). (default)

REVERSE

Reverse video.

NOREVERSE

Normal video. (default)

UNDERLINE

Underlined.

NOUNDERLINE

Not underlined. (default)

Defines a window field (which is different from an input field). The row and column values set the field’s beginning position within a window. The field’s length is defined either by the value of length or by the length of the text. Fields cannot be redefined and are numbered sequentially by the script compiler. The window display position is updated to the end of the field.

Use the W_FLDS subroutine to process window fields, not I_INPUT.

.window functions, 15, 20
.title "Function Fields"
.wfield add, position(6,5), text("Add")
.wfield sub, position(8,5), text("Subtract")
.wfield mult, position(10,5), text("Multiply")
.wfield div, position(12,5), text("Divide")
.wfield mod, position(14,5), text("Modulo")
.end