RosettaCodeData/Task/Introspection/Lua/introspection.lua

4 lines
139 B
Lua

if _VERSION:sub(5) + 0 < 5.1 then print"too old" end --_VERSION is "Lua <version>".
if bloop and math.abs then print(math.abs(bloop)) end