<doc>
  <legacy_id>1802</legacy_id>
  <name>variableNames</name>
  <type>function</type>
  <syntax>
    <example>the variableNames</example>
    <example>variableNames()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Values &amp; Properties</category>
  </classification>
  <references>
    <command tag="local">local Command</command>
    <function tag="functionNames">functionNames Function</function>
    <function tag="globalNames">globalNames Function</function>
    <function tag="paramCount">paramCount 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> a list of all <glossary tag="parameter">parameters</glossary>, <glossary tag="local variable">local variables</glossary>, and <command tag="global">global</command> <glossary tag="variable">variables</glossary>.</summary>
  <examples>
    <example>the variableNames</example>
    <example>repeat with x=1 to the number of items of line 4 of the variableNames</example>
  </examples>
  <description>
    <p>Use the <b>variableNames</b> <control_st tag="function">function</control_st> to find out which sources of <function tag="value">value</function> are available to the current <glossary tag="handler">handler</glossary>, or to see whether a <glossary tag="variable">variable</glossary> name is available for use.</p><p/><p><b>Value:</b></p><p>The <b>variableNames</b> function <glossary tag="return">returns</glossary> a value consisting of four <keyword tag="lines">lines</keyword>:</p><p/><p>        1. Parameters passed to the current handler (including leading '@' for parameters passed by-reference)</p><p>        2. Local variables created in the current handler</p><p>        3. Local variables created in the current script but outside all handlers</p><p>        4. Global variables</p><p/><p>Within each line, the variable or parameter names are separated by commas.</p>
  </description>
</doc>