[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Metatables
- From: Eric Tetz <erictetz@...>
- Date: Wed, 27 Feb 2002 22:56:38 -0800 (PST)
--- Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> Try this: define the index method for globals to return a special kind
> of proxy table, one for which methods are defined to handle arithmetic and
> indexing.
Beautiful. ;) More than I hoped for. It neatly solves another problem I had: the need to
distinguish between x + y and x .. y.
> Anyway, I hope it helps.
Tremendously.
Cheers,
Eric
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com