Difference between revisions of "G"

From GiderosMobile
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Value</translate>:''' <br/>
+
'''Value:''' <br/>
=== <translate>Description</translate> ===
+
'''Defined by:''' [[(global)]]<br/>
<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>
+
 
 +
=== 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).
 +
 
 +
{{(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).