lua-users home
lua-l archive

Re: +=

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


How would one go about implementing operators such as +=, -=, ++, etc? I use x = x + something_else quite a lot, and having x += something_else would make my code look so much cleaner, imho. Is there a way to do it with Lua code (like tag methods), or will it have to be added to the parser?
==
| ._ _ Lune MUW Server
|_(_)| )(/_ http://lune.sourceforge.net/
_____________________________________________________________

AltStyle によって変換されたページ (->オリジナル) /