Manual

83
_dspmovecursor
_dspmovecursor
Description
Reposition visible cursor on front panel character display.
Usage
ColumnNum LineNum _dspmovecursor
ColumnNum Integer or fixed-point. Character column at which to locate visible cursor.
LineNum Integer or fixed-point. Character line at which to locate visible cursor.
Comments
Most PAL printers with front panel displays have the ability to display a cursor on the display.
Presentation of a cursor can prove very useful when requesting input from the printer operator via
the front panel. The
_dspmovecursor
operator provides the PAL programmer with the ability to
locate this cursor where ever appropriate.
The PAL interpreter maintains separate locations for the visible cursor and the invisible next
character position. This allows the PAL programmer to write new characters onto the display
without affecting the position of the visible cursor.
Under normal printer operation, the PAL interpreter leaves the displayable cursor disabled. This
has the affect of removing the cursor from the display. The PAL programmer can freely move the
display cursor around the display. However, the operator will not see the cursor until the
programmer enables the cursor via the
_dspsetcursor
operator. Once the programmer enables the
cursor, it will appear at the last cursor position established via the _dspmovecursor operator.










