G

From OpenEUO
Revision as of 10:45, 9 October 2010 by 76.184.213.234 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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