lua-users home
lua-l archive

Re: why get a function`s environment without use it?

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




On Mon, Dec 22, 2008 at 3:33 AM, Linker <linker.m.lin@gmail.com> wrote:
Is the _env a global veriable?

There is a "local _env" statement before it is used - he's right that you can tell from this code it is never used.

It looks like originally there was some chance of the original environment getting restored, or returned, but that got removed or never completed and _env was left as an artifact.

-Duncan


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