<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="else">
  <refmeta>
    <refentrytitle>else</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>else</refname>
    <refpurpose>
      Executes a block of code when an &quot;if...then&quot; condition is false.
      <indexterm id="IndexElse"><primary>else</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      Executes a block of code when an &quot;if...then&quot; condition is false.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis><command>else</command></synopsis>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>else</emphasis> is used inside of a block of code between the <link linkend="if"><citetitle>&quot;if...then&quot;</citetitle></link> and <link linkend="endif"><citetitle>endif</citetitle></link> opcodes. It defines which statements are executed when a &quot;if...then&quot; condition is false. Only one <emphasis>else</emphasis> statement may occur and it must be the last conditional statement before the <emphasis>endif</emphasis> opcode.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      See the example for the <link linkend="if"><citetitle>if</citetitle></link> opcode.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="elseif"><citetitle>elseif</citetitle></link>,
      <link linkend="endif"><citetitle>endif</citetitle></link>,
      <link linkend="goto"><citetitle>goto</citetitle></link>,
      <link linkend="if"><citetitle>if</citetitle></link>,
      <link linkend="igoto"><citetitle>igoto</citetitle></link>,
      <link linkend="kgoto"><citetitle>kgoto</citetitle></link>,
      <link linkend="tigoto"><citetitle>tigoto</citetitle></link>,
      <link linkend="timout"><citetitle>timout</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>New in version 4.21</para>
  </refsect1>
</refentry>
