[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: I don't understand this application of metamethod
- From: Emeka <emekamicro@...>
- Date: Fri, 25 May 2012 10:53:06 +0100
If won't mind, I would like to see an example.
On Fri, May 25, 2012 at 8:10 AM, Dirk Laurie <email@example.com>
2012/5/25 Tim Mensch <firstname.lastname@example.org>:
And (ex-Pythonistas please beware) it does NOT override the
> The __index metamethod tells Lua what to do if someone tries to look up an
> undefined key on a table.
normal table indexing method when the key is already present.
-- Satajanus Nig. Ltd