forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstantNames.lcdoc
More file actions
30 lines (17 loc) · 1.05 KB
/
Copy pathconstantNames.lcdoc
File metadata and controls
30 lines (17 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Name: constantNames
Type: function
Syntax: the constantNames
Syntax: constantNames()
Summary: <return|Returns> a list of all built-in <constant|constants> in <LiveCode>.
Introduced: 2.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
the constantNames
Example:
if it is among the lines of the constantNames then askForAnotherName
Returns: The <constantNames> <function> <return|returns> a list of <constant> names, one per <line>.
Description:
Use the <constantNames> <function> to check whether a particular <constant(command)> already exists in <LiveCode>, to avoid using a <reserved word> for your own <constant(glossary)|constants> and <variable|variables>.
The <constantNames> <function> <return|returns> all the <constant(glossary)|constants> that are predefined in <LiveCode>, including synonyms.
References: line (keyword), constant (command), propertyNames (function), functionNames (function), constant (glossary), LiveCode (glossary), variable (glossary), return (glossary), reserved word (glossary), function (control_st)