Function_articles

From Wowpedia
Jump to: navigation, search






One line summary description of the function.

isTrue, retVal1, retVal2 = {{subst:Help:API Function articles/Preload/Name}}(arg1, arg2 [, arg3])

Arguments

arg1 
string - description.
arg2 
number - description.
arg3 
boolean?Optional. Could be nil. - description.

Returns

isTrue 
boolean - true if the sky is blue, false otherwise.
retVal1 
string - name of something or someone
retVal2 
number[] - a table containing multiple IDs for something.

Details

  • Triggers WHO_LIST_UPDATE, when your query has finished processing on the server and new "Who" information is available.
  • Does something particularly detailed.

Example

The following snippet does something clever and insightful, using either tabs or four spaces to indent.

local a, b, c = func("hi", {1,2,3} )
if a > 20 and b < 20 and a^20 + b^20 = c^20 then
	print("Stuff!")
end

Patch changes

Retail

Classic

See also

External links

References

 
  1. ^ Townlong-Yak 2019-03-12. Util.lua.
  2. ^ 2004-12-06, UnitFrame.lua, version 1.1.2.4115, near line 1, archived at Townlong-Yak