BEFORE ROW block

The BEFORE ROW block is executed each time the user moves to another row, after the destination row is made the current one.

When the dialog starts, BEFORE ROW will be executed for the current row, but only if there are data rows in the array.

When called in this block, the ARR_CURR() function returns the index of the new current row. You can also use the DIALOG.getCurrentRow() method.

BEFORE ROW
   MESSAGE "Current row index is: ", ARR_CURR()
   CALL show_details()