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
4 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 — 4y

1 answer

Log in to vote
3
Answered by
Velsity 218 Moderation Voter
4 years ago
Edited by User#24403 4 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 — 4y
0
Such useless feature I guess. zuup123 99 — 4y
Ad

Answer this question