Difference between revisions of "G"
From GiderosMobile
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)}} | {{(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).