- 0 Comments
-
Lua Standard Libraries
The following functions are available in foldit Lua V2. Any not listed were excluded because of possible security issues. Documentation for all of these functions can be found on the Lua Web site.
If there is a function that you think should be included that isn't listed, make an argument for it in the foldit Forum. Show citations from the Lua Forum describing the implications of including this function, especially that it is safe.
Contents |
Standard Functions
Edit
http://www.lua.org/manual/5.1/manual.html#5
- _VERSION
- assert
- error
- ipairs
- next
- pairs
- pcall
- print (special implementation in foldit)
- select
- tonumber
- tostring
- type
- unpack
- xpcall
Math Functions
Edit
http://www.lua.org/manual/5.1/manual.html#5.6
- 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
OS Functions
Edit
- os.clock
- os.date
- os.difftime
- os.time
String Functions
Edit
- 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
Edit
- table.concat
- table.insert
- table.maxn
- table.remove
- table.sort
- table.unpack