SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-32
DISPLAY
DISPLAY
The DISPLAY statement maps a list of string expressions or cache data elements into
the fields defined by the window located at the current buffer address. If no window is
at the current buffer address, or the window does not have the FIELDS attribute, a run-
time syntax error appears.
CLEAR
clears the indicated fields to spaces. For example:
DISPLAY CLEAR FIELD 0 FOR 3
clears the first three unprotected, or free, fields in the window.
str-exp-list
displays a comma-separated list of string expressions in the fields associated with
the window located at the current buffer address. Each string expression is
automatically mapped to the corresponding window field on a left-to-right, top-to-
bottom basis. For example:
Use the FIELD, FOR, FREE, PROTECT, and ALL options to control which fields
are updated.
FROM taskid [ CACHE index ]
displays records from the cache associated with the specified taskid into the
fields associated with the window at the current buffer address.
DISPLAY { CLEAR | str-exp-list | FROM taskid [CACHE index] }
FIELDINDEX | FIELD start-field-index-in-window
FOR number-of-fields
ALLFIELDS | ALL
FREEONLY | FREE
PROTECTONLY | PROTECT
VIDEOTEMP video-and-field-attributes
DISPLAY CLEAR [FREE]; Clears all unprotected fields in the window
DISPLAY CLEAR ALL; Clears unprotected and protected fields
DISPLAY CLEAR PROTECT; Clears only protected fields in the window
DISPLAY "John", "Smith", "500 West Main", "Chicago", "IL"
would be mapped as follows:
First[John]Last[Smith]
Street[500 West Main]
City[Chicago]State[IL]