[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [proposal] Libary changes
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 10 Oct 2011 15:56:11 +0200
2011/10/10 steve donovan <email@example.com>:
> On Mon, Oct 10, 2011 at 3:07 PM, Julien Duminil
> <firstname.lastname@example.org> wrote:
>> So the idea would become:
>> - *_G* replaced by *_ENV* (remove *_G* in Lua 5.2?)
> Ah, but they are not _always_ identical, not so?
True, but _G is not _necessary_. It's just a convenient
name for storing the original value of _ENV which (unlike
_ENV) Lua itself does not change.
>> - *arg* replaced by *...* (AFAIK, removed in Lua 5.2?)
> Would we then still be able to access arg or even arg[-1] ??
arg in Lua5.2 is a predefined table set by the interpreter to hold
the commandline parameters. But its previous meaning as a
table containing the same stuff as ... has indeed been removed.