Working With Data on the Screen › Locate the Current Cursor Position › Locate the Cursor by Row
The variable &CSRROW represents the row of the current position of the cursor. For example, if the cursor is in row 2, the value of &CSRROW is 2.