You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary><glossary tag="return">Returns</glossary> a list of all built-in <glossary tag="constant">constants</glossary> in <glossary tag="LiveCode">LiveCode</glossary>.</summary>
<examples>
<example>the constantNames</example>
<example>if it is among the lines of the constantNames then askForAnotherName</example>
</examples>
<description>
<p>Use the <b>constantNames</b> <control_st tag="function">function</control_st> to check whether a particular <command tag="constant">constant</command> already exists in <glossary tag="LiveCode">LiveCode</glossary>, to avoid using a <glossary tag="reserved word">reserved word</glossary> for your own <glossary tag="constant">constants</glossary> and <glossary tag="variable">variables</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>constantNames</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of <command tag="constant">constant</command> names, one per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>constantNames</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> all the <glossary tag="constant">constants</glossary> that are predefined in <glossary tag="LiveCode">LiveCode</glossary>, including synonyms.</p>