<doc>
  <legacy_id>1162</legacy_id>
  <name>licensed</name>
  <type>function</type>
  <syntax>
    <example>the licensed</example>
    <example>licensed()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <command tag="edit">edit Command</command>
    <function tag="mcLicense">mcLicense Function</function>
    <function tag="revLicenseType">revLicenseType Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> true if the <glossary tag="development environment">development environment</glossary> is running.</summary>
  <examples>
    <example>the licensed</example>
    <example>if not licensed() then hide button "Edit Script"</example>
  </examples>
  <description>
    <p>Use the <b>licensed</b> <control_st tag="function">function</control_st> to determine whether the user is using a <glossary tag="standalone application">standalone application</glossary> or the <glossary tag="development environment">development environment</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>licensed</b> function <glossary tag="return">returns</glossary> true or false.</p><p/><p><b>Comments:</b></p><p>If the <b>licensed</b> <control_st tag="function">function</control_st> is false, the current application is a standalone, which has certain limitations on scripting. These limitations are described by the <function tag="scriptLimits">scriptLimits</function> <control_st tag="function">function</control_st>.</p><p/><p><code/><b>Note:</b><code/> If the user has the Evaluation Edition, the <b>licensed</b> <control_st tag="function">function</control_st> returns true.</p>
  </description>
</doc>