lua-users home
lua-l archive

Re: Upvalue question

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


> Is it so that upvalues only "care" about functions?
Yes.
> But if that block is changed into a function, an error message occurs... 
> 
> "upvalue must be global or local to immediately outer scope"
The message should be "... to immediately outer function".
-- Roberto

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