lua-users home
lua-l archive

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


Daniel Silverstone wrote:
If you start adding += and -=, then what about ++ and -- which between
them will add another four metamethods {pre,post}{inc,dec}rement

Well, -- cannot be added to the language, obviously...
Or one have to find and use an alternative syntax.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --