Increment Operator
Pluto provides an easy way to increment variables using the prefixed ++ operator:
++x
This is shorter than the equivalent Pluto code using compound operators:
x += 1
And especially compared to the plain Lua approach:
x = x + 1
Pluto provides an easy way to increment variables using the prefixed ++ operator:
++x
This is shorter than the equivalent Pluto code using compound operators:
x += 1
And especially compared to the plain Lua approach:
x = x + 1