Changes

Jump to navigation Jump to search

Overview of the API

281 bytes added, 11:42, 29 June 2013
Line 5: Line 5:  
( This has been taken from [http://www.wowwiki.com/Lua_functions a WoWWiki page] - See the full, official documentation [http://www.lua.org/manual/5.1/manual.html here] )
 
( This has been taken from [http://www.wowwiki.com/Lua_functions a WoWWiki page] - See the full, official documentation [http://www.lua.org/manual/5.1/manual.html here] )
   −
Basic Library Functions
+
=== Basic Library Functions ===
    
*'''[[G]]''' - Global Variable - A global variable (not a function) that holds the global environment (that is, _G._G = _G). Lua itself does not use this variable; changing its value does not affect any environment, nor vice-versa. (Use setfenv to change environments.) - taken from Lua docs  
 
*'''[[G]]''' - Global Variable - A global variable (not a function) that holds the global environment (that is, _G._G = _G). Lua itself does not use this variable; changing its value does not affect any environment, nor vice-versa. (Use setfenv to change environments.) - taken from Lua docs  
Line 25: Line 25:  
*'''[[unpack]]'''(table[, start][, end]) - Returns the contents of its argument as separate values.  
 
*'''[[unpack]]'''(table[, start][, end]) - Returns the contents of its argument as separate values.  
 
*'''[[xpcall]]'''(func, err) - Returns a boolean indicating successful execution of func and calls err on failure, additionally returning func's or err's results.
 
*'''[[xpcall]]'''(func, err) - Returns a boolean indicating successful execution of func and calls err on failure, additionally returning func's or err's results.
 +
 +
=== String Library ===
 +
byte char dump �nd format gmatch gsub len lower match rep reverse sub upper
 +
 +
=== Math Library ===
 +
abs acos asin atan atan2 ceil cos cosh deg exp  oor fmod frexp huge ldexp log log10 max min modf pi pow rad random randomseed sin sinh sqrt tan tanh
    
== Concepts and Basics  ==
 
== Concepts and Basics  ==
7

edits

Navigation menu