[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __index metamethod
- From: Matthew Wild <mwild1@...>
- Date: Mon, 29 Jun 2009 19:45:23 +0100
On Mon, Jun 29, 2009 at 7:40 PM, Peter Cawley<lua@corsix.org> wrote:
> __index and __newindex only apply when rawget(table, key) == nil
>
> On Mon, Jun 29, 2009 at 7:35 PM, Sean Riley<sean@metaplace.com> wrote:
>> "All problems in computer science can be solved by another level of
>> indirection", Butler Lampson, 1972
>
As for the solution, your email signature is very fitting :)
http://www.lua.org/pil/13.4.4.html
Matthew.