Product SiteDocumentation Site

8.14. SysCurPos (Windows only)


>>-SysCurPos(-+------------+-)---------------------------------><
              +-row,column-+

Returns the cursor position in the form row col and optionally moves the cursor to a new location.
Parameters:
row
The row to move to.
col
The column to move to.

Note

Position (0,0) is the upper left corner.
You can call SysCurPos without a column and row position to obtain the cursor position without moving the cursor.

Example 8.3. RexxUtil - SysCurpos

/* Code */
call SysCls
parse value SysCurPos() with row col
say "Cursor position is "row", "col

/* Output */
Cursor position is 0, 0