C64 VIC-20 C16 Plus/4 C128 X16 M65
The CSRLIN()
function returns the current row position of the cursor.
DECLARE FUNCTION CSRLIN AS BYTE () SHARED STATIC INLINE
PRINT "the cursor is currently in row "; CSRLIN()
Warning
This function does not work on the Commodore PET.