<doc>
  <legacy_id>1808</legacy_id>
  <name>globalNames</name>
  <type>function</type>
  <syntax>
    <example>the globalNames</example>
    <example>globalNames()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
    <synonym>globals</synonym>
  </synonyms>
  <classification>
    <category>Values &amp; Properties</category>
  </classification>
  <references>
    <command tag="global">global Command</command>
    <function tag="localNames">localNames Function</function>
    <function tag="variableNames">variableNames Function</function>
    <command tag="delete variable">delete variable Command</command>
  </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 <glossary tag="declare">declared</glossary> <glossary tag="global">global variables</glossary>.</summary>
  <examples>
    <example>the globalNames</example>
    <example>if "myGlob" is not among the items of the globalNames then global myGlob</example>
  </examples>
  <description>
    <p>Use the <b>globalNames</b> <control_st tag="function">function</control_st> to determine which <glossary tag="global">global variables</glossary> are available, or to make sure a <glossary tag="global">global variable</glossary> name has not already been used before <glossary tag="declare">declaring</glossary> it.</p><p/><p><b>Value:</b></p><p>The <b>globalNames</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of all <glossary tag="global">global variables</glossary>, separated by commas.</p><p/><p><b>Comments:</b></p><p>Global variables are created with the <b>global</b> command. They can be deleted with the <command tag="delete variable">delete variable</command> command. All <glossary tag="global">global variables</glossary> that have been <glossary tag="declare">declared</glossary> since the <glossary tag="application">application</glossary> was started up are included in the <b>globalNames</b> <control_st tag="function">function</control_st>, except any that have been explictly deleted.</p>
  </description>
</doc>