Lee_M
4 years agoCommunity Hero
breaking out of loop iteration
I have created a Data Driven loop with an if condition
the condition will jump to the next iteration should the criteria NOT be met, how can I break out of the current cycle ?
The only operation I have found in keyword is "STOP EXECUTION" which will stop the script working which is not what I am looking for
e.g.
loop (i=1) {
if (i == 3) {
break;
}
// do something
i++;
}
Hi,
You may consider Label and Go To Label operations.