--

Decrement operator.

Syntax

var_name --

Operands

var_name
A scalar variable.

Example

Expression Result
a -- , where a = 2 1

Comments

The decrement operator decreases the value of var_name by one. This operator is typically used in loop constructs.

The decrement operator is not valid when used with curve-editing functions.