GET CURSOR
Reference
Syntax
GET CURSOR { { FIELD field
[VALUE val]
[LENGTH len]
[[DISPLAY|MEMORY] OFFSET off]
[LINE line]
[AREA area] }
| { LINE line
[VALUE val]
[LENGTH len]
[[DISPLAY|MEMORY] OFFSET off] } }.
Effect
Evaluates the cursor position on screens and lists.
Additions
-
FIELD field
Returns the name of the screen element of the field output on a list in field and determines further field-related properties of the cursor position.
VALUE val - Returns the value of the screen element or the output area of a list in val.
LENGTH len - Returns the length of the screen element or the output area of a list in len.
[DISPLAY|MEMORY] OFFSET off - Returns the offset
of the cursor in the screen element or in the output area of a list in off.
DISPLAY and MEMORY distinguish, in lists, between the screen position and the position in the list buffer.
LINE line - Returns the number of the row for a
table control, for a
Sseploop, or the list in line.
AREA area - Returns the name of a table control in area.
-
LINE line
Returns the number of the row of a table control, of a steploop, or the list in
line and determines further row-related properties of the cursor position in lists.
VALUE val - Returns the value of the list row in val.
LENGTH len - Returns the length of the list row in len.
[DISPLAY|MEMORY] OFFSET off - Returns the offset
of the cursor inthe list row in off.
DISPLAY and MEMORY distinguish between screen position and position in the list buffer.