FOR condition
The FOR condition describes the begin, condition and end for a FOR loop. The first statement list ( basic_stmt ) is executed, when initializing the FOR loop, i.e. only once at the beginning. The second statement list ( basic_stmt ) is executed before each iteration to check, whether a next iteration step is required. The loop continues as long as the value of the last statement in the list is true . When defining more than one statement in the list, all statements are executed, but the last only is checked for continuation. The last statement list ( stmt_operlist ) is executed at the end of each iteration.
Definition:
for_condition := '(' basic_stmt basic_stmt stmt_operlist ')'