Difference between revisions of "G"
From GiderosMobile
| Line 4: | Line 4: | ||
'''<translate>Value</translate>:''' <br/> | '''<translate>Value</translate>:''' <br/> | ||
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/> | '''<translate>Defined by</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/> | ||
| + | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<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> | <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> | ||
| + | |||
| + | {{(global)}} | ||
Revision as of 04:17, 11 February 2020
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.)