Incrementation in Lua
LUA doesn't increment and decrement with ++
and --
. --
will instead start a comment.
--
starts a single line comment, like #
or //
in other languages.
So it's equivalent to:
a = 3;
b = 5;
c = a
LUA doesn't increment and decrement with ++
and --
. --
will instead start a comment.
--
starts a single line comment, like #
or //
in other languages.
So it's equivalent to:
a = 3;
b = 5;
c = a