lua-users home
lua-l archive

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

--- Luiz Henrique de Figueiredo <> 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.



Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!