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><glossarytag="return">Returns</glossary> a list of all built-in <glossarytag="constant">constants</glossary> in <glossarytag="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_sttag="function">function</control_st> to check whether a particular <commandtag="constant">constant</command> already exists in <glossarytag="LiveCode">LiveCode</glossary>, to avoid using a <glossarytag="reserved word">reserved word</glossary> for your own <glossarytag="constant">constants</glossary> and <glossarytag="variable">variables</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>constantNames</b> <control_sttag="function">function</control_st> <glossarytag="return">returns</glossary> a list of <commandtag="constant">constant</command> names, one per <keywordtag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>constantNames</b> <control_sttag="function">function</control_st> <glossarytag="return">returns</glossary> all the <glossarytag="constant">constants</glossary> that are predefined in <glossarytag="LiveCode">LiveCode</glossary>, including synonyms.</p>