Difference between revisions of "VERSION"

From GiderosMobile
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 06: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)