Used with the repeat control structure to specify that the loop is to repeat until the specified conndition becomes true.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
until
# Examples
repeat until the seconds >= tTimeToStop
# Description
LiveCode evaluates the condition each time the loop repeats, at the top of the loop (before the statements in the repeat control structure are execute). If the condition is true, the loop is skipped and execute resumes with the statement after the end repeat statement.
If the condition is already true when LiveCode reaches the repeat statement, the loop is not execute at all.
# Tags
# See
- **keyword:** forever, for, end repeat - **glossary:** keyword, statement, loop, control structure, execute - **control structure:** repeat