# The repeat loop: repeat until

### 12.3.4 The repeat loop: repeat until

The repeat loop allows you to repeat statements until a given condition is met. To use it, enter repeat, the statements, the keyword until followed by the condition, a boolean:

repeat statements until bool

#### Example.

If you want the user to enter a value for a variable x which is greater than 4, you could use:

repeat
input("Enter a value for x (greater than 4)",x);
until (x > 4);

This can also be written

repeter
input("Enter a value for x (greater than 4)",x);
jusqua (x > 4);