fn: ---
[contents]

Contents

Syntax

The syntax for --- calls is:

f++:  
---(params)

n++:  
@---(params)

Description

--- is the post-decrement operator, it takes a non-zero number of parameters that should all be number variables, decrements each of them and returns the value of the first parameter after being decremented.

Note: It is typically faster to use exprtk for decrementing variables.

f++ example

Example of --- being used with f++:

:=(int, a=0)
console(---(a))

n++ example

Example of --- being used with n++:

@:=(int, a=0)
@console(@---(a))