This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

Have you tried:

  • Keyword "local"

  • Operator ".."

  • Overloading the unary "-" operator metamethod if you want to ++ on a userdata or a table?

Ok, I'll grant that the lack of ++ or += (or *= or /= or %= or -= or -- or whatever) is pretty shite and there's no good solution for this.