Assignment initializer operator ?=. It only assigns if variable was not set before.
Also fixes issues with assigments:
Use correct fmod for a %= operations.
Increment assigment now have default values. i.e. If you run set a += 1 when a is not set, it will be set to 1. Before it would break because value was null.
As + is also used for strings, this set a += "abc" also works.
Assignment initializer operator
?=
. It only assigns if variable was not set before.Also fixes issues with assigments:
fmod
fora %=
operations.set a += 1
whena
is not set, it will be set to 1. Before it would break because value was null.+
is also used for strings, thisset a += "abc"
also works.