As the title says, what is _VERSION variable and how can I use it? Please explain and give examples below.
✓ ANSWER ACCEPTED
_VERSION variable, what is it and how can I use it?
1 answer
✓ Accepted answer
print(_VERSION)
>Lua 5.1
The variable stores the current version of Lua from my understanding. Not sure if it can be used for anything else.
2 comments
0
It's just the current version.
0
Such useless feature I guess.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Are you gonna accept my answer?