G

From OpenEUO
Jump to: navigation, search

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

Lua 5.1 Manual _G

Lua 5.1 Manual - Environments