Lua Basics Guide
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()
anderror()
-
getfenv()
andsetfenv()
-
getmetatable()
andsetmetatable()
-
next()
,ipairs()
andpairs()
-
load()
andloadstring()
-
module()
, but sadly norequire()
-
pcall()
andxpcall()
rawequal()
-
rawget()
andrawset()
select()
-
tonumber()
,tostring()
type()
unpack()
##Libraries