[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.2: Can you explain this behaviour? (Dirk Laurie)
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 15 Sep 2011 13:28:25 +0200
On Thu, Sep 15, 2011 at 1:22 PM, Eric Man <firstname.lastname@example.org> wrote:
> I get it now; _ENV basically acts like the _G table. (but does something
> else as well).
In particular, _writing_ to _ENV has an effect (whereas writing to _G
has no consequences apart from confusing people who expect it to have
its original value)
> I searched for it on the 'net, found this "loadin" function, but its not in
> my lua 5.2 beta!
It has been changed to load() in the new beta, works pretty much the
same as before.