Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- http://forums.wowace.com/showthread.php?t=19736
- local t = {}
- for _, v1 in ipairs( {math, string, table} ) do
- for k, v2 in pairs(v1)do
- t[k] = v2
- end
- end
- for k, v in pairs(_G) do
- if type(v) == "function" and t[v] then
- print(k, t[v])
- end
- end
- --
- abs == math.abs
- ceil == math.ceil
- deg == math.deg
- exp == math.exp
- floor == math.floor
- foreach == table.foreach
- foreachi == table.foreachi
- format == string.format
- frexp == math.frexp
- getn == table.getn
- gmatch == string.gmatch
- gsub == string.gsub
- ldexp == math.ldexp
- log == math.log
- log10 == math.log10
- max == math.max
- min == math.min
- mod == math.fmod
- rad == math.rad
- random == math.random
- sort == table.sort
- sqrt == math.sqrt
- strbyte == string.byte
- strchar == string.char
- strfind == string.find
- strjoin == string.join
- strlen == string.len
- strlower == string.lower
- strmatch == string.match
- strrep == string.rep
- strrev == string.reverse
- strsplit == string.split
- strsub == string.sub
- strtrim == string.trim
- strupper == string.upper
- tinsert == table.insert
- tremove == table.remove
- wipe == table.wipe
- --
- acos ~= math.acos
- asin ~= math.asin
- atan ~= math.atan
- atan2 ~= math.atan2
- cos ~= math.cos
- sin ~= math.sin
- tan ~= math.tan
- --
- PI == math.pi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement