Returns the cursor position.
Restriction: This routine is supported for native COBOL only.
Syntax:
call "CBL_GET_CSR_POS" using screen-position
returning status-code
Parameters
-
screen-position
- Group predefined as
cblt-screen-position containing
01 cblt-screen-position typedef.
03 cblte-scrp-row cblt-x1-compx. *> pic x comp-x.
03 cblte-scrp-col cblt-x1-compx. *> pic x comp-x.
-
status-code
- See
Library Routines - Key.
On Exit:
screen-position
|
The screen position of the cursor. The top left corner is row 0, column 0. If the cursor is invisible,
cblte-scrp-row and
cblte-scrp-col are both set to 255.
|