lua-users home
lua-l archive

Re: Indexable functions

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


On Tue, Oct 23, 2012 at 1:10 PM, Rena <hyperhacker@gmail.com> wrote:
> Well, you could always set a metatable for the function that traps
> __index and __newindex the same as you would for a table...
True, but all functions share the same metatable (like strings)

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