[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: When does __index metamethod get called?
- From: Chris <coderight@...>
- Date: Thu, 16 Mar 2006 18:46:46 -0500
On 3/16/06, Jerome Vuarand <firstname.lastname@example.org> wrote:
__newindex is used for any write to he
__index is a getter, __newindex is the
Well, it would be nice if __newindex was called for any write but that
doesn't seem to be the case. That's actually how I thought it
would work at first since I couldn't find a __setindex metamethod.