Returns the index of the current row in the screen array.
scr_line() RETURNING result INTEGER
The scr_line() function returns the index of the current row in the screen array. It is typically used inside a DISPLAY ARRAY or INPUT ARRAY statement.
Do not confuse scr_line() with arr_curr(), the first returns the index of the current row in the form screen array, and the second returns the index of the current row in the program variable.