lua-users home
lua-l archive

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


Tony Finch <dot@dotat.at> writes:

> On Wed, 24 Feb 2010, Roberto Ierusalimschy wrote:
>>
>> 2) Any global name <var> (that is, a variable name without a visible
>> declaration) is changed to _ENV.<var>.
>
> Why not call the table _G?

I can't answer to that, the consequences being out of my depth.  If
there are both _G and _ENV, the differences might be hard to understand.

So I'd second that motion, in order to bring the consequences back into
my depth.

-- 
David Kastrup