fn: --
[contents]

Contents

Syntax

The syntax for -- calls is:

f++:  
--param
--(params)

n++:  
@--param
@--(params)

Description

-- is the pre-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 before being decremented.

Note: It is typically faster to use exprtk for decrementing variables, especially with the post-loop code with for loops.

f++ example

Example of -- being used with f++:

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

n++ example

Example of -- being used with n++:

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