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
43 lines (29 loc) · 1.07 KB
/
constantNames.lcdoc
File metadata and controls
43 lines (29 loc) · 1.07 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
31
32
33
34
35
36
37
38
39
40
41
42
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, 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: constant (command), function (control structure),
propertyNames (function), functionNames (function), constant (glossary),
LiveCode (glossary), variable (glossary), return (glossary),
reserved word (glossary), line (keyword)