Please enable JavaScript to view this site.

ESL Documentation

To allow the nesting of for each selected row/column loop statements, an integer variable must be associated with the loop. ESL sets the specified integer variable with the row number or column id.

 

For example:

 

for each selected row SelRow of Table loop

    copy row SelRow of Table to RowText

    call ProcessRow(RowText)

end loop

 

During a for each selected row/column loop, you may use the remove action statement to delete the selected row, however, as deleting the row affects the row number increment, you must decrement the associated integer variable.

 

For example:

 

for each selected row SelRow of Table loop

    remove row SelRow from Table

    copy (SelRow – 1) to SelRow

end loop