Imitate C syntax r++ (return and increment)
r=lm_plusplus(r) (return and store value r)
r=lm_plusplus()
value
Optional argument (scalar)
If specified, current will return this value. A subsequent call
without arguments to this utility will return r+1