forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommandNames.xml
More file actions
48 lines (48 loc) · 2.07 KB
/
Copy pathcommandNames.xml
File metadata and controls
48 lines (48 loc) · 2.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
43
44
45
46
47
48
<doc>
<legacy_id>2045</legacy_id>
<name>commandNames</name>
<type>function</type>
<syntax>
<example>the commandNames</example>
<example>commandNames()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Writing LiveCode</category>
</classification>
<references>
<function tag="functionNames">functionNames Function</function>
<function tag="propertyNames">propertyNames Function</function>
<control_st tag="on">on Control Structure</control_st>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> a list of all built-in <glossary tag="command">commands</glossary> in <glossary tag="LiveCode">LiveCode</glossary>.</summary>
<examples>
<example>the commandNames</example>
<example>if field "Name" is among the lines of the commandNames then exit repeat</example>
</examples>
<description>
<p>Use the <b>commandNames</b> <control_st tag="function">function</control_st> to check whether a particular <glossary tag="command">command</glossary> already exists in <glossary tag="LiveCode">LiveCode</glossary>, to avoid using a <glossary tag="reserved word">reserved word</glossary> for your own custom <glossary tag="handler">handlers</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>commandNames</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of <glossary tag="command">command</glossary> names, one per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>commandNames</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> all the <glossary tag="command">commands</glossary> that can be used in <glossary tag="LiveCode">LiveCode</glossary>, including synonyms.</p>
</description>
</doc>