lua-users home
lua-l archive

Re: stack level parameter

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


On 2010年1月21日, Mark Hamburg wrote:
> Yes though that code isn't quite right since it needs to actually 
> build something that looks up in env followed by the current 
> environment.
I suppose you'll need debug.getfenv() for that, no? If you need to 
keep track of the current env yourself explicitly (say by 
side-effecting some state which you need to undo) then I'm not sure 
how it would work.
Cheers,
Joonas

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