VERSION: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 7: Line 7:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>A global variable (not a function) that holds a string containing the current interpreter version. The current contents of this variable is "Lua 5.1".</translate>
<translate>A global variable (not a function) that holds a string containing the current interpreter version. The current contents of this variable is "Lua 5.1".</translate>
=== <translate>Example</translate> ===
<source lang="lua">
print(_VERSION)
</source>


{{(global)}}
{{(global)}}

Revision as of 05:16, 13 July 2020


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. The current contents of this variable is "Lua 5.1".

Example

print(_VERSION)