Specifications

Commands - 32
DISPLAY
Process Statement
SYNTAX: DISPLAY data [,][;][data] . . .
DISPLAY$ data [,data] . . .
DISPLAY! "format";data [,][;]
DISPLAY (row,column) data [,][;][data] . . .
DISPLAY (row,column)$ data [,data] . . .
DISPLAY (row,column)USING "format";data [,][;]
PURPOSE: To write information to Vacuum fluorescent and LCD displays.
REMARKS: The three basic syntaxes above can be used to write to the DP series and LCD series displays. Before
using the DISPLAY command, you must first execute the CONFIG DISPLAY statement to install the
driver for your display.
There are two ways to access the display: sequential and random access. In the sequential mode,
characters are displayed beginning in the upper left hand corner and continue to the right. The
random access mode lets you place the cursor anywhere on the display and commence writing at that
point.
The first syntax is sequential. On power–up, the cursor position is at row 0 and column 0. Printing
will continue to the right. At the end of the line, the DP series displays wrap to the next line. The
LCD displays generally do not wrap. The cursor must be moved to the next line.
The second and third syntaxes are random access. These are most commonly used when presenting
data or during operator feedback. You specify a row and column where you want the first character
to be printed. The third syntax formats the data, like the PRINT USING command in other BASICs.
LCD Series Notes: The integrated electronics within the LCD displays treat the unit as either
one or two 1x80 displays. Each display has one “logical” and one to four “physical” lines.
If the lines are 40 characters long, then there are two physical lines (rows). The first has a column
range from 0 to 39, and the second line has a column range from 40 to 79. When more than 80
characters are written to the display in the sequential mode, the display will wrap around back to the
beginning.
If the display lines are 20 characters long, a different mode is used. The first row has a column range
from 0 to 19. Columns 20 through 39 are not used. Writing to these columns will not affect the
display. Columns 40 through 59 form the second display line, and columns 60 through 79 are not
used.
No display wrapping will occur from row 1 to row 2. This is true in both the sequential and random
access modes.
DISPLAY functions like the PRINT statement. A carriage return/line feed will be appended to the
DISPLAY statement unless there is a trailing semicolon.
LCD Graphics notes
The LCD graphics display has several unique commands: