<doc>
  <legacy_id>2230</legacy_id>
  <name>buildNumber</name>
  <type>function</type>
  <syntax>
    <example>the buildNumber</example>
    <example>buildNumber()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>The System Environment</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <function tag="QTVersion">QTVersion Function</function>
    <function tag="version">version Function</function>
    <function tag="systemVersion">systemVersion Function</function>
    <function tag="revAppVersion">revAppVersion Function</function>
    <function tag="environment">environment Function</function>
    <function tag="platform">platform 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 build number of the LiveCode <glossary tag="engine">engine</glossary>.</summary>
  <examples>
    <example>the buildNumber</example>
    <example>if the buildNumber &lt; 3 then</p><p>  answer "This version is too early."</p><p>end if</example>
  </examples>
  <description>
    <p>Use the <b>buildNumber</b> <control_st tag="function">function</control_st> to determine which <glossary tag="engine">engine</glossary> version the <glossary tag="application">application</glossary> is using. This is useful to figure out, for example, whether a certain <glossary tag="LiveCode">LiveCode</glossary> feature is available.</p><p/><p><b>Value:</b></p><p>The <b>buildNumber</b> function <glossary tag="return">returns</glossary> an integer.</p><p/><p><b>Comments:</b></p><p>The <b>buildNumber</b> of two copies of LiveCode or a <glossary tag="standalone application">standalone application</glossary> may be different, even if the <function tag="version">version</function> function <glossary tag="return">returns</glossary> the same number. This is because new builds of the same version may be released to provide fixes to specific problems.</p><p/><p>When reporting a problem with LiveCode, please include the <b>buildNumber</b> and <function tag="version">version</function> of the <glossary tag="application">application</glossary>.</p>
  </description>
</doc>