WoW:API pcall: Difference between revisions

5 bytes removed ,  26 May 2006
Change category from "LUA Functions" to "Lua functions".
(Change category from "LUA Functions" to "Lua functions".)
Line 1: Line 1:
<center>'''pcall''' ''-Documentation by [[user:Darjk|Darjk]]-''</center>
<center>'''pcall''' ''-Documentation by [[user:Darjk|Darjk]]-''</center>
Native Lua statement:


Returns a boolean value to catch errors from the function call (func).
Returns a boolean value to catch errors from the function call (func).
Line 35: Line 37:
: pcall will ''also'' return other arguments returned from the "function" if all is successful.
: pcall will ''also'' return other arguments returned from the "function" if all is successful.


----
{{LUA}}
__NOTOC__
{{Template:WoW API}}
Anonymous user