Built-in functions / Built-in functions |
Returns the current row in a DISPLAY ARRAY or INPUT ARRAY.
arr_curr() RETURNING result INTEGER
The arr_curr() function returns an integer value that identifies the current row of a list of rows in an INPUT ARRAY or DISPLAY ARRAY instruction. The first row is numbered 1.
Note that arr_curr() and scr_line() can return different values if the program array is larger than the screen array.
Consider using the ui.Dialog.getCurrentRow() method instead of arr_curr() when executing several list-handled instruction in parallel inside a DIALOG block.