Help:Widget method articles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (fix cat) |
||
Line 50: | Line 50: | ||
[[Category:Boilerplates]] <!-- REMOVE THIS CATEGORIZATION WHEN YOU USE THE BOILERPLATE TO CREATE A NEW PAGE! --> | [[Category:Boilerplates|Widget Method]] <!-- REMOVE THIS CATEGORIZATION WHEN YOU USE THE BOILERPLATE TO CREATE A NEW PAGE! --> |
Revision as of 23:05, 12 December 2006
← Widget API ← Widget
One line summary description of function.
isTrue, retVal1, retVal2 = WidgetName:func("arg1", arg2, ...)
Parameters
Arguments
- ("arg1", arg2)
- arg1
- String - description
- arg2
- Table - description
Returns
- isTrue, retVal1, retVal2
- isTrue
- Boolean - is it true
- retVal1
- String - is it true
- retVal2
- Number - is it true
Example
local a, b, c = WidgetName:func("hi", {1,2,3} )
Result
a = "hi " b = "hi hi" c = "hi hi hi"
Details
- Does something particularly detailed.