Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
Gxxam (talk | contribs)
mNo edit summary
Line 5: Line 5:
   
 
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
isTrue, retVal1, retVal2 = func("arg1", arg2, ...);
+
isTrue, retVal1, retVal2 = func("arg1", arg2, ...)
   
 
== Parameters ==
 
== Parameters ==
Line 26: Line 26:
 
== Example ==
 
== Example ==
 
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
 
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
local a, b, c = func("hi", {1,2,3} );
+
local a, b, c = func("hi", {1,2,3} )
   
 
====Result====
 
====Result====

Revision as of 16:12, 30 March 2006

Title -Documentation by Author-

One line summary description of function.

isTrue, retVal1, retVal2 = func("arg1", arg2, ...)

Parameters

Arguments

("arg1", arg2)
arg1
String - description
arg2
Table - description

Returns

Returns
isTrue, retVal1, retVal2
isTrue
Boolean - is it true
retVal1
String - is it true
retVal2
Number - is it true

Example

local a, b, c = func("hi", {1,2,3} )

Result

hi 
hi hi
hi hi hi

Details

Does something particularly detailed

Template:WoW API