Built-in functions / Built-in functions |
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.