Variables (DISPLAY)
The contents of character string variables and numeric variables are displayed on the user's screen whenever they appear in the list of a DISPLAY instruction. The first character appearing is displayed at the current cursor position and the cursor is incremented one column for each character displayed. Upon completion, the cursor remains after the last character displayed. Unless modified by a list control, these variable types are displayed as follows:
Character String Variables
The display begins with the first physical character and continues through the Length Pointer.
Blanks are displayed for each character between the Length Pointer and the Physical Length.
If the Form Pointer is zero, blanks are displayed for each character position to the Physical Length.
If an item within the list is a character string ARRAY and no specific array element has been designated, every array element is displayed.
Numeric Variables
The display begins with the first physical character and continues through the Physical Length of the variable.
If an item within the list is a numeric ARRAY and no specific array element has been designated, every array element is displayed.
See Also: Literals and Control Characters, DISPLAY, List Controls (KEYIN and DISPLAY), List Controls (Graphic Characters), Interactive I/O Instructions
![]() |