Repeat : Until
DescriptionRepeat ... Until <expression> [or Forever]
This function will loop until the <expression> becomes true. The number of loops is unlimited. If an endless loop is needed then use the Forever keyword instead of Until. With the Break command, it is possible to exit the Repeat : Until loop during any iteration. With Continue command, the end of the current iteration may be skipped.
a = 0 Repeat a = a+1 Debug a Until a > 10This will loop until "a" takes a value > to 10, (it will loop 11 times).