Do-while loop


Implements a loop that is executed when a specified condition is met. By default, the 'Assign value to variable' function is added when using the 'Do-while loop' function. It enables you to quickly set the behavior of the loop body; for instance, by modifying a counter variable. However, the 'Assign value to variable' function is not mandatory to use and can be replaced by any other set of other functions.

If the condition in the 'Do-while loop' function is true then the 'Yes' branch is executed, otherwise the robot will execute the 'No' branch.



Contains a boolean expression such as iterationCount < 10. If the condition is met, then the 'Yes' branch is executed.


Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Usage Examples