There is global variable _VERSION (a string): print(_VERSION) -- Output Lua 5.2. UPD : Other methods to distinguish between Lua versions:
確定! 回上一頁