VERSION: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | |||
''' | '''Value:''' Lua 5.1.x<br/> | ||
''' | '''Defined by:''' [[(global)]]<br/> | ||
''' | |||
=== | === Description === | ||
A global variable (not a function) that holds a string containing the current interpreter version. | |||
<source lang="lua"> | |||
_VERSION | |||
</source> | |||
=== | The current contents of this variable is "'''Luau'''". | ||
=== Example === | |||
<source lang="lua"> | <source lang="lua"> | ||
print(_VERSION) | print(_VERSION) | ||
Revision as of 22:34, 13 May 2022
Available since: Gideros 2011.6
Value: Lua 5.1.x
Defined by: (global)
Description
A global variable (not a function) that holds a string containing the current interpreter version.
_VERSION
The current contents of this variable is "Luau".
Example
print(_VERSION)