GNU Info

Info Node: (m4.info)Incr

(m4.info)Incr


Next: Eval Prev: Arithmetic Up: Arithmetic
Enter node , (file) or (file)node

Decrement and increment operators
=================================

   Increment and decrement of integers are supported using the builtins
`incr' and `decr':

     incr(NUMBER)
     decr(NUMBER)

which expand to the numerical value of NUMBER, incremented, or
decremented, respectively, by one.

     incr(4)
     =>5
     decr(7)
     =>6

   The builtin macros `incr' and `decr' are recognized only when given
arguments.


automatically generated by info2www version 1.2.2.9