Lua operators

From wikinotes
Revision as of 21:03, 11 February 2024 by Will (talk | contribs) (Created page with "= Operator Overloading = <blockquote> Every object type in lua has a lua metatable.<br> The metatable can define custom methods like <code>__add</code> to perform addition. </blockquote><!-- Operator Overloading -->")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Operator Overloading

Every object type in lua has a lua metatable.
The metatable can define custom methods like __add to perform addition.