DISPLAY
ANSI
The DISPLAY instruction displays information on the user's screen. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
data
Required. Any combination of previously defined Character String Variables, Numeric Variables, string or numeric Literals, string or numeric ARRAYs, individual array elements, VARLISTs of string or numeric variables, valid {ctrl} characters, or valid DISPLAY list controls that is displayed.
;
Optional. A semicolon that prevents inhibits the normal output of a line feed upon statement termination.
Flags Affected: NONE
Note the following:
Items within {data} are separated with commas. The list items may be continued on additional lines by ending each continued line with a colon (:).
If a FILEPI instruction is active, it is terminated.
INTEGER variables of length one, two, three and four are converted and displayed as FORMs of length three, five, eight, and ten respectively.
When using the PL/B Web Server, only basic support is available.
See Also: Literals and Control Characters, Variables, KEYIN, List Controls (KEYIN and DISPLAY), List Controls (Graphic Characters), Interactive I/O Instructions
![]() |