<doc>
  <legacy_id>1116</legacy_id>
  <name>version</name>
  <type>function</type>
  <syntax>
    <example>the version</example>
    <example>version()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>The System Environment</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <function tag="libURLVersion">libURLVersion Function</function>
    <function tag="buildNumber">buildNumber Function</function>
    <function tag="environment">environment Function</function>
  </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><glossary tag="return">Returns</glossary> the <glossary tag="application">application engine's</glossary> version number.</summary>
  <examples>
    <example>put the version into field "Version" of me</example>
    <example>if item 1 of the version &lt; 3 then</p><p>  answer "Not all features will be available"</p><p>end if</p></example>
  </examples>
  <description>
    <p>Use the <b>version</b> function to determine whether the <glossary tag="application">application</glossary> supports a particular feature.</p><p/><p><b>Value:</b></p><p>The <b>version</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a string describing the version of LiveCode running.</p><p/><p><b>Comments:</b></p><p>The version number belongs to either the LiveCode application (if the stack is being used with LiveCode) or to the running standalone application. The engine <b>version</b> of a <glossary tag="standalone application">standalone</glossary> is the same as the <glossary tag="engine">engine</glossary> <b>version</b> of LiveCode that was used to create it.</p>
  </description>
</doc>