Difference between revisions of "G"

From GiderosMobile
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Value:''' <br/>
'''<translate>Value</translate>:''' <br/>
+
'''Defined by:''' [[(global)]]<br/>
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>
 
  
=== <translate>Description</translate> ===
+
=== Description ===
<translate>A global variable (not a function) that holds the global environment (that is, _G._G = _G). Lua itself does not use this variable; changing its value does not affect any environment, nor vice-versa. (Use setfenv to change environments.)</translate>
+
A global variable (not a function) that holds the global environment (that is, _G._G = _G).
 +
 
 +
Lua itself does not use this variable. Changing its value does not affect any environment, nor vice-versa (use '''setfenv''' to change environments).
  
 
{{(global)}}
 
{{(global)}}

Latest revision as of 22:18, 13 May 2022

Available since: Gideros 2011.6
Value:
Defined by: (global)

Description

A global variable (not a function) that holds the global environment (that is, _G._G = _G).

Lua itself does not use this variable. Changing its value does not affect any environment, nor vice-versa (use setfenv to change environments).