Assignment operators
An assignment operator allows you to assign a variable with an expression.
Operator | Description |
---|---|
Assignment (:=) | The := operator assigns a variable
with an expression and returns the result. |
Addition Assignment (+=) | The += operator used after the
LET keyword, assigns a variable by adding the current variable value to a numeric
expression. |
Subtraction Assignment (-=) | The -= operator used after the
LET keyword, assigns a variable by subtracting the current variable value to a
numeric expression. |
Multiplication Assignment (*=) | The *= operator used after the
LET keyword, assigns a variable by multiplying the current variable value to a
numeric expression. |
Division Assignment (/=) | The /= operator used after the
LET keyword, assigns a variable by dividing the current variable value by a numeric
expression. |
Concatenation Assignment (||=) | The ||= operator used after the
LET keyword, assigns a variable by concatenating the current variable value to an
expression. |
Append Assignment (,=) | The ,= operator used after the
LET keyword, assigns a variable by concatenating the current variable value with
the formatted version of an expression. |