Codebase list lua-ldoc / 607b5cf
globals _G and _VERSION are _tables_ steve donovan 7 years ago
2 changed file(s) with 4 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
4949 ---
5050 -- A global variable (not a function) that holds the global environment
5151 -- (that is, `_G._G = _G`). Lua itself does not use this variable; changing
52 -- its value does not affect any environment, nor vice-versa. (Use `setfenv`
53 -- to change environments.)
54 -- function _G end
55 -- * `_G._G`: _G._G
52 -- its value does not affect any environment, nor vice-versa. (Set `__ENV`
53 -- to change environments in functions)
54 -- @table _G
5655
5756 ---
5857 -- If `object` does not have a metatable, returns nil. Otherwise, if the
199198 -- A global variable (not a function) that holds a string containing the
200199 -- current interpreter version. The current contents of this variable is
201200 -- "`Lua 5.1`".
202 -- function _VERSION end
203 -- * `_G._VERSION`: _G._VERSION
201 -- @table _VERSION
204202
205203 ---
206204 -- This function is similar to `pcall`, except that you can set a new
2828 text-decoration: none;
2929 }
3030 li {
31 // list-style: disc;
3231 margin-left: 20px;
3332 }
3433 caption,th {