lua-users home
lua-l archive

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

On Monday, April 9, 2001, at 11:19 AM, Luiz Henrique de Figueiredo wrote:

You could add an "index" tag method for this.  Something like this:

 local NOP=function () end
 settagmethod(tag(object),"index", function () return %NOP end)

That works if you always want that behavior, but I'd like it to only return the nop function in particular cases.