Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

_VERSION variable, what is it and how can I use it?

Asked by
zuup123 99
5 years ago

As the title says, what is _VERSION variable and how can I use it? Please explain and give examples below.

0
Are you gonna accept my answer? Velsity 218 — 5y

1 answer

Log in to vote
3
Answered by
Velsity 218 Moderation Voter
5 years ago
Edited by User#24403 5 years ago
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.

0
It's just the current version. Sonnenroboter 336 — 5y
0
Such useless feature I guess. zuup123 99 — 5y
Ad

Answer this question