While-Do Loop Action
In certain scenarios, it is not feasible to predetermine the number of iterations, as this depends on a condition that is evaluated dynamically within the loop.
Therefore, we propose implementing an action that supports while-do type iteration. This construct would repeatedly evaluate a condition based on the value of a variable to determine whether the loop should continue. Naturally, the variable must be updated within the loop body to ensure that the loop can terminate when the condition is no longer met.
2
Please sign in to leave a comment.
Comments
0 comments