lua-users home
lua-l archive

Re: a new proposal for environments

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2010年2月25日, Roberto Ierusalimschy wrote:
>
> _ENV is a real variable in all senses. We though about using _G, but
> that would create a needless incompatibility for code that manipulates
> _G. Apart from that, _G is as good a name as any other.
It seems a pity to have two names for essentially the same thing.
Tony.
-- 
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.

AltStyle によって変換されたページ (->オリジナル) /