The action progressively increases a value of the local control value
_index by +1. It evaluates the expression
find expression before each increasing of the value. If the expression gets the value @TRUE, the action is to be terminated and the control value
_index contains the given value. If the expression is not to be evaluated successfully (invalid values, ...), the variable
_retCode will contain the error type, otherwise _ERR_NO_ERROR. If the expression
find expression does not get the value @TRUE within all permitted range, the value of the variable
_index will be
maxIndex+1 after the action termination.
It is necessary, to make the expression find expression dependent on a value of the control value. If not, the action generates the error _ERR_LOCAL_VAR_NFOUND.
As can be seen in the example, the action can be advantageously used when searching structures.
0 komentárov