Knowledge Base

Repeat While Block

The Repeat While Block repeats a single block or multiple blocks in a loop while or until a condition is true. It’s that simple.

To apply the Repeat While block to a program:

  1. Select whether to repeat the loop while a condition is true, or until, or to repeat the loop while the condition is false or until it is false.
  2. Add a condition to check.
  3. Insert a single block or multiple blocks to repeat in a loop.

 

Configuration

Parameter Description Configuration Compatible Blocks
repeat

Blocks are repeated in a loop while or until a condition is true. Add a condition after the Repeat while/until parameter.

 

While: While the condition is true, the commands that follow the do parameter are executed. 

Until: While the condition is false, the commands that follow the do parameter are executed.

 

Hints and Tips

You can configure the Repeat While block to repeat while true to repeat commands indefinitely!

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.

Powered by Zendesk