Difference between revisions of "cock.find"

(Created page with "Finds control object by ID. == Synopsis == === Function === <source lang="Lua">control = cock.find ( id )</source> === Arguments === {{param|string|id|An identifier to use for th...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Finds control object by ID.
 
Finds control object by ID.
== Synopsis ==
+
== Function ==
=== Function ===
+
=== Synopsis ===
 
<source lang="Lua">control = cock.find ( id )</source>
 
<source lang="Lua">control = cock.find ( id )</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|string|id|An identifier to use for this object.}}
+
{{param|string|id|An identifier to find object by.}}
 
=== Returns ===
 
=== Returns ===
 
{{param|table|control|Found control object (nil on failure).}}
 
{{param|table|control|Found control object (nil on failure).}}

Latest revision as of 14:59, 2 September 2013

Finds control object by ID.

Function

Synopsis

control = cock.find ( id )

Arguments

string id
An identifier to find object by.

Returns

table control
Found control object (nil on failure).

See also