Skip to content
aubergine10 edited this page Nov 23, 2015 · 1 revision

_VERSION states that PA is using Lua 5.1 as of Alpha34 release.

Most of the standard Lua features are available to your scripts...

##Global functions

  • assert() and error()
  • getfenv() and setfenv()
  • getmetatable() and setmetatable()
  • next(), ipairs() and pairs()
  • load() and loadstring()
  • module(), but sadly no require()
  • pcall() and xpcall()
  • rawequal()
  • rawget() and rawset()
  • select()
  • tonumber(), tostring()
  • type()
  • unpack()

##Libraries

Clone this wiki locally