Command Reference 5-55
LOCATE
Purpose Moves the cursor to a specified position on the printer’s screen.
Syntax LOCATE
row-position, col-position
Process The LOCATE command moves the cursor to the (
row-position
,
col-position
) position
on the printer’s screen. The range for
row-position
is 1-3.
For
col-position
the
ranges are 1-15 (for rows 1 and 2) and 1-20 (for row 3).
Row-position and col-position
can be one of the following:
Source
Description
INPUT Input Buffer
Logical Field Name
(TEMP1)
Temporary Buffer
Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Number A number prefixed by
the number sign (#).
Example
This example moves the cursor to the first row and second column of the screen.
LOCATE #1, #2