[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: general globals in use
- From: "Thijs Schreijer" <thijs@...>
- Date: Wed, 12 Dec 2012 08:10:25 +0100
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Luiz Henrique de Figueiredo
> Sent: dinsdag 11 december 2012 21:38
> Subject: Re: general globals in use
>
> > Is there a general accepted list of globals and their definitions
somewhere?
>
> The Lua core creates no globals. The base library creates _G, _VERSION,
> coroutine, and a bunch of functions. Each standard library creates one
global
> with the name of the library. These are all listed in
> http://www.lua.org/manual/5.2/#index
What I'm mostly interested in is the ones defined 'by convention'. I think
it makes sense to create a generic list on the wiki so they can be shared
(preventing users from creating different generics for the same purpose).
And if done properly some might become the standard for the Lua community,
which I think is a good thing.
Thijs