G: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''Available since:''' Gideros 2011.6<br/> | ||
''' | '''Value:''' <br/> | ||
''' | '''Defined by:''' [[(global)]]<br/> | ||
=== | |||
=== 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 21: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).