Difference between revisions of "G"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> '''Value:''' <br/> === Description === <translate>A global variable (not a function) that holds the global environment (th...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Value:''' <br/>
 
'''Value:''' <br/>
 +
'''Defined by:''' [[(global)]]<br/>
 +
 
=== Description ===
 
=== 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)}}

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).