Specifications

253
Syntax:
Syntax 1:
LOCATE [column][,row[,cursorswitch]]
Syntax 2:
LOCATE,,cursorswitch
Parameter:
A numeric expression which returns a value given below.
Description:
LOCATE moves the cursor to a position specified by column number and row
number as coordinates on the LCD. It also changes the cursor shape as specified
by
cursorswitch.
The cursor location in the upper left corner of the LCD is 1, 1 which is the default.
cursorswitch specifies the cursor shape as listed below.
If some parameter is omitted, the current value remains active. If you omit col-
umn
, for example, the cursor stays in the same column but moves to the newly
specified row position.
I/O statement
LOCATE
Moves the cursor to a specified position and changes the cursor shape.
Screen mode Screen font column row cursorswitch
Single-byte
ANK Mode
Standard-size
font
1 to 17 1 to 25 0 to 2, and 255
Two-byte Kanji
Mode
Standard-size
font
1 to 26 1 to 37 0 to 2, and 255
Small-size font 1 to 34 1 to 49 0 to 2, and 255
cursorswitch value Cursor shape
0 Invisible
1 Underline cursor (default)
2 Full block cursor
255 User-defined cursor