Difference between revisions of "Documentation"
From OpenEUO
(Created page with "; Lua - Basic Functions : _G assert collectgarbage dofile error getfenv getmetatable ipairs loadfile loadstring next pairs [[pcal...") |
|||
Line 1: | Line 1: | ||
− | + | == Lua == | |
− | [[_G]] | + | === Basic Functions === |
− | [[assert]] | + | |
− | [[collectgarbage]] | + | * [[_G]] |
− | [[dofile]] | + | * [[assert]] |
− | [[error]] | + | * [[collectgarbage]] |
− | [[getfenv]] | + | * [[dofile]] |
− | [[getmetatable]] | + | * [[error]] |
− | [[ipairs]] | + | * [[getfenv]] |
− | [[loadfile]] | + | * [[getmetatable]] |
− | [[loadstring]] | + | * [[ipairs]] |
− | [[next]] | + | * [[loadfile]] |
− | [[pairs]] | + | * [[loadstring]] |
− | [[pcall]] | + | * [[next]] |
− | [[print]] | + | * [[pairs]] |
− | [[rawequal]] | + | * [[pcall]] |
− | [[rawget]] | + | * [[print]] |
− | [[rawset]] | + | * [[rawequal]] |
− | [[select]] | + | * [[rawget]] |
− | [[setfenv]] | + | * [[rawset]] |
− | [[setmetatable]] | + | * [[select]] |
− | [[tonumber]] | + | * [[setfenv]] |
− | [[tostring]] | + | * [[setmetatable]] |
− | [[type]] | + | * [[tonumber]] |
− | [[unpack]] | + | * [[tostring]] |
+ | * [[type]] | ||
+ | * [[unpack]] | ||
+ | |||
+ | === Math Functions === | ||
+ | |||
+ | * [[math.abs]] | ||
+ | * [[math.acos]] | ||
+ | * [[math.asin]] | ||
+ | * [[math.atan]] | ||
+ | * [[math.atan2]] | ||
+ | * [[math.ceil]] | ||
+ | * [[math.cos]] | ||
+ | * [[math.cosh]] | ||
+ | * [[math.deg]] | ||
+ | * [[math.exp]] | ||
+ | * [[math.floor]] | ||
+ | * [[math.fmod]] | ||
+ | * [[math.frexp]] | ||
+ | * [[math.huge]] | ||
+ | * [[math.ldexp]] | ||
+ | * [[math.log]] | ||
+ | * [[math.log10]] | ||
+ | * [[math.max]] | ||
+ | * [[math.min]] | ||
+ | * [[math.modf]] | ||
+ | * [[math.pi]] | ||
+ | * [[math.pow]] | ||
+ | * [[math.rad]] | ||
+ | * [[math.random]] | ||
+ | * [[math.randomseed]] | ||
+ | * [[math.sin]] | ||
+ | * [[math.sinh]] | ||
+ | * [[math.sqrt]] | ||
+ | * [[math.tan]] | ||
+ | * [[math.tanh]] | ||
+ | |||
+ | === String Functions === | ||
+ | |||
+ | * [[string.byte]] | ||
+ | * [[string.char]] | ||
+ | * [[string.dump]] | ||
+ | * [[string.find]] | ||
+ | * [[string.format]] | ||
+ | * [[string.gmatch]] | ||
+ | * [[string.gsub]] | ||
+ | * [[string.len]] | ||
+ | * [[string.lower]] | ||
+ | * [[string.match]] | ||
+ | * [[string.rep]] | ||
+ | * [[string.reverse]] | ||
+ | * [[string.sub]] | ||
+ | * [[string.upper]] | ||
+ | |||
+ | === Table Functions === | ||
+ | |||
+ | * [[table.concat]] | ||
+ | * [[table.insert]] | ||
+ | * [[table.maxn]] | ||
+ | * [[table.remove]] | ||
+ | * [[table.sort]] |
Revision as of 05:21, 5 October 2010
Lua
Basic Functions
- _G
- assert
- collectgarbage
- dofile
- error
- getfenv
- getmetatable
- ipairs
- loadfile
- loadstring
- next
- pairs
- pcall
- rawequal
- rawget
- rawset
- select
- setfenv
- setmetatable
- tonumber
- tostring
- type
- unpack
Math Functions
- math.abs
- math.acos
- math.asin
- math.atan
- math.atan2
- math.ceil
- math.cos
- math.cosh
- math.deg
- math.exp
- math.floor
- math.fmod
- math.frexp
- math.huge
- math.ldexp
- math.log
- math.log10
- math.max
- math.min
- math.modf
- math.pi
- math.pow
- math.rad
- math.random
- math.randomseed
- math.sin
- math.sinh
- math.sqrt
- math.tan
- math.tanh
String Functions
- string.byte
- string.char
- string.dump
- string.find
- string.format
- string.gmatch
- string.gsub
- string.len
- string.lower
- string.match
- string.rep
- string.reverse
- string.sub
- string.upper