lua-users home
lua-l archive

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


>From alan@oldp.nmsu.edu Fri Aug  1 17:55:36 1997
>
>Standard Lua does not support tag methods for "next" events. With a
>little thought, I have come up with two reasons for wanting them:
>...
>Fortunately, it is possible to spoof "next" tag methods. I append some
>code to implement a "next" tag method and expose the original next
>function as rawnext.

Right. Lua provides meta mechanisms, not every possible feature.
As you have found out, you can do waht you want using Lua itself, without
changing anything in the language.
--lhf