<doc>
  <legacy_id>1038</legacy_id>
  <name>end</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
  </classification>
  <references>
    <control_st tag="function">function Control Structure</control_st>
    <control_st tag="on">on Control Structure</control_st>
    <control_st tag="getProp">getProp Control Structure</control_st>
    <control_st tag="pass">pass Control Structure</control_st>
    <keyword tag="end if">end if Keyword</keyword>
    <keyword tag="end repeat">end repeat Keyword</keyword>
    <keyword tag="end switch">end switch Keyword</keyword>
    <keyword tag="end try">end try Keyword</keyword>
    <constant tag="EOF">EOF Constant</constant>
  </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>Marks the end of a <glossary tag="handler">handler</glossary>.</summary>
  <examples>
    <example>end thisFunction</example>
  </examples>
  <description>
    <p>Use the <b>end</b> <glossary tag="keyword">keyword</glossary> to end an <control_st tag="on">on</control_st>, <control_st tag="function">function</control_st>, <control_st tag="getProp">getProp</control_st>, or <control_st tag="setProp">setProp</control_st> <glossary tag="control structure">control structure</glossary>.</p><p/><p><b>Comments:</b></p><p>The last line of a handler of any kind always begins with the <b>end</b> <glossary tag="keyword">keyword</glossary>, followed by the name of the <glossary tag="handler">handler</glossary>.</p>
  </description>
</doc>