Forums » General
lua 5.1.2
The August 31st update will start using lua 5.1.2, so all plugins will have to be checked to make sure they are compatible.
http://www.lua.org/manual/5.1/manual.html#7.1
this page details the changes.
The main things to look out for are string.gfind -> string.gmatch,
math.mod -> math.fmod, table.setn no longer exists, and table.getn needs to be replaced with #, table.foreach/foreachi are gone, variable aruments are handled completely differently now.
http://www.lua.org/manual/5.1/manual.html#7.1
this page details the changes.
The main things to look out for are string.gfind -> string.gmatch,
math.mod -> math.fmod, table.setn no longer exists, and table.getn needs to be replaced with #, table.foreach/foreachi are gone, variable aruments are handled completely differently now.
OOOO! UPDATE COMING!
Updating to a higher version of a language is always good news.
This reminds me... I should update my PHP if possible...
This reminds me... I should update my PHP if possible...