VariableName = expr;
PropertyName = expr;
Evaluates the expression, and assigns the result to a variable or property.
Unlike C, assignments in AGAST can not be done in expressions,
but only in assignment statements.
Abbreviated Assignment
Expressions such as x = x + 2 can be abbreviated
x += 2. The abbreviated assignment operators are
+=, -=, *=, /=,
%=, &=, |=, ^=,
<<= and >>=.
[Currently, this syntax only allows variables
or properties on the left side of the assignment operator,
and not arrays.]
See Also...
Increment/Decrement Variable
VariableName++;
VariableName--;
Increments or decrements a variable. This shorthand statement is
not allowed in expressions (as in C).
If this syntax is combined with bit access syntax, as in
v.bit[4]++, increment will set a bit and
decrement will clear it.
[This syntax is is only compatible with variables, and not
properties or arrays.]
See Also...