<doc>
  <legacy_id>1763</legacy_id>
  <name>else</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
  </classification>
  <references>
    <keyword tag="finally">finally Keyword</keyword>
    <control_st tag="if">if Control Structure</control_st>
    <keyword tag="then">then 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 within an <control_st tag="if">if</control_st> <glossary tag="control structure">control structure</glossary> to contain <glossary tag="statement">statements</glossary> to be performed if the condition is not true.</summary>
  <examples>
    <example>if it is the date then insertDate else removeDate</example>
  </examples>
  <description>
    <p>Use the <b>else</b> <glossary tag="keyword">keyword</glossary> to perform an alternative action within an <control_st tag="if">if</control_st> <glossary tag="control structure">control structure</glossary>.</p><p/><p><b>Comments:</b></p><p>If the condition on the first line of the <b>if</b> <glossary tag="control structure">control structure</glossary> is false, the <glossary tag="statement">statement</glossary> or <glossary tag="statement">statement</glossary> list after the <b>else</b> <glossary tag="keyword">keyword</glossary> is <glossary tag="execute">executed</glossary> instead of the <glossary tag="statement">statements</glossary> in the main portion of the <control_st tag="if">if</control_st> <glossary tag="control structure">control structure</glossary>. The <b>else</b> section is optional in an <control_st tag="if">if</control_st> <glossary tag="control structure">control structure</glossary>.</p><p/><p>Depending on the exact form of the <b>if</b> <glossary tag="control structure">control structure</glossary> being used, the <b>else</b> <glossary tag="keyword">keyword</glossary> may be on the same line as the rest of the <control_st tag="if">if</control_st> structure, on the same line as the <glossary tag="statement">statement</glossary> to be <glossary tag="execute">executed</glossary>, or on a line by itself.</p>
  </description>
</doc>