forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommandNames.lcdoc
More file actions
30 lines (17 loc) · 1012 Bytes
/
commandNames.lcdoc
File metadata and controls
30 lines (17 loc) · 1012 Bytes
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: commandNames
Type: function
Syntax: the commandNames
Syntax: commandNames()
Summary: <return|Returns> a list of all built-in <command|commands> in <LiveCode>.
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
the commandNames
Example:
if field "Name" is among the lines of the commandNames then exit repeat
Returns: The <commandNames> <function> <return|returns> a list of <command> names, one per <line>.
Description:
Use the <commandNames> <function> to check whether a particular <command> already exists in <LiveCode>, to avoid using a <reserved word> for your own custom <handler|handlers>.
The <commandNames> <function> <return|returns> all the <command|commands> that can be used in <LiveCode>, including synonyms.
References: line (keyword), propertyNames (function), functionNames (function), handler (glossary), LiveCode (glossary), command (glossary), return (glossary), reserved word (glossary), on (control_st), function (control_st)