<doc>
  <legacy_id>1217</legacy_id>
  <name>until</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
  </classification>
  <references>
    <control_st tag="repeat">repeat Control Structure</control_st>
    <keyword tag="for">for Keyword</keyword>
    <keyword tag="forever">forever Keyword</keyword>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Used with the <control_st tag="repeat">repeat</control_st> <glossary tag="control structure">control structure</glossary> to specify that the <glossary tag="loop">loop</glossary> is to repeat until the specified conndition becomes true.</summary>
  <examples>
    <example>repeat until the seconds &gt;= timeToStop</example>
  </examples>
  <description>
    <p>Use the <b>until</b> <glossary tag="keyword">keyword</glossary> to repeat a sequence of <glossary tag="statement">statements</glossary> until a condition becomes true.</p><p/><p><b>Comments:</b></p><p>LiveCode evaluates the condition each time the loop repeats, at the top of the loop (before the statements in the <b>repeat</b> <glossary tag="control structure">structure</glossary> are <glossary tag="execute">executed</glossary>). If the condition is true, the <glossary tag="loop">loop</glossary> is skipped and <glossary tag="execute">execution</glossary> resumes with the <glossary tag="statement">statement</glossary> after the <keyword tag="end repeat">end repeat</keyword> statement.</p><p/><p>If the condition is already true when LiveCode reaches the <b>repeat</b> <glossary tag="statement">statement</glossary>, the <glossary tag="loop">loop</glossary> is not <glossary tag="execute">executed</glossary> at all.</p>
  </description>
</doc>