Previous Topic: POKE Return CodesNext Topic: RDCURSOR Return Codes


EPI RDCURSOR—Request Cursor Position

The EPI RDCURSOR command returns the cursor position that the row and column number specify. This command runs in AOF rules synchronously and returns data in the external data queue.

EPI RDCURSOR has the following format:

ADDRESS EPI "RDCURSOR keywords"
{termname|*}
termname

Defines the virtual terminal for which you want to retrieve the cursor position.

*

Retrieves the cursor position for the current terminal that is defined by the SETTERM command.

EPI RDCURSOR Sample Coding Statements

The following sample coding statement requests the cursor position on virtual terminal TERM3:

RDCURSOR TERM3

If the cursor is at row 23, column 1, the output from this command is 23 1.