Next: , Previous: , Up: Built-in functions   [Contents][Index]


7.2.3.11 $DECR: Decrement a macro

$DECR(N)’ redefines the numeric macro N to be one less than its previous value. (If N does not simplify to a number, an error results.) In other words, in the language of C the effect is to say ‘N--’.

The two-argument form ‘$DECR(N,m)’ executes the equivalent of ‘N -= m’.