UNTIL Statement
Used in conjunction with a FOR or LOOP statement to exit the loop.
Syntax
UNTIL limit-expr {DO}
Syntax Elements
limit-expr is an expression that can be evaluated to true or false (1 or 0). It is similar to the test expression in the IF statement.