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 a 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.