lua-users home
lua-l archive

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


On Wed, Aug 14, 2019, 20:32 Oliver <oschmidt-mailinglists@gmx.de> wrote:

On 13.08.19 06:45, Sean Conner wrote:
>       veryLongNmae[complexLValue] = veryLongName[complexLValue] + 1

every time I type the above line, I wish Lua had the += operator.

See "Compound Assignment Operators (5.2)" in http://lua-users.org/wiki/LuaPowerPatches to try it out.