<doc>
  <legacy_id>2163</legacy_id>
  <name>explicitVariables</name>
  <type>property</type>
  <syntax>
    <example>set the explicitVariables to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
    <synonym>explicitVars</synonym>
  </synonyms>
  <classification>
    <category>Writing LiveCode</category>
    <category>Values &amp; Properties</category>
  </classification>
  <references>
    <command tag="local">local 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>Specifies that <glossary tag="local variable">local variables</glossary> must be explicitly <glossary tag="declare">declared</glossary> with the <command tag="local">local</command> <glossary tag="command">command</glossary>.</summary>
  <examples>
    <example>set the explicitVariables to true</example>
  </examples>
  <description>
    <p>Set the <b>explicitVariables</b> <glossary tag="property">property</glossary> to aid in <glossary tag="debug">debugging</glossary> your code.</p><p/><p><b>Value:</b></p><p>The <b>explicitVariables</b> is true or false.</p><p/><p>By default, the <b>explicitVariables</b> is set to false.</p><p/><p><b>Comments:</b></p><p>Setting the <b>explicitVariables</b> <glossary tag="property">property</glossary> to true can help you <glossary tag="debug">debug</glossary> certain problems with <glossary tag="variable">variables</glossary>.</p><p/><p>If the <b>explicitVariables</b> is true, using a <glossary tag="local variable">local variable</glossary> without <glossary tag="declare">declaring</glossary> it first causes a <glossary tag="compile error">compile error</glossary>. This <glossary tag="behavior">behavior</glossary> can be useful in tracking down certain subtle problems such as misspelling a <glossary tag="variable">variable</glossary> name.</p><p/><p>If the <b>explicitVariables</b> <glossary tag="property">property</glossary> is true, using a <glossary tag="literal string">literal string</glossary> without enclosing it in quotes causes a <glossary tag="compile error">compile error</glossary>.</p><p/><p><b>Note:</b> ExplicitVariables only come into effect when script is compiled, such as in <b>do</b>, <b>value</b> and setting the script. Its value should be preserved outside of user handlers, only setting it around syntax to which it applies.</p>
  </description>
</doc>