![]() | ![]() | ![]() | incf-after | ![]() |
|
| place
&optional increment
=> original-value | [Macro] |
Purpose
Increment the value of place, returning the original value of
place.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
| place | A form which is suitable for use as a generalized reference | |
| increment | A number (default is 1)
| |
| original-value | A number |
Returns
The original value of place.
See also
decf-after
Examples
> (defparameter *x* 0) > (incf-after *x*) 0 > *x* 1 > (incf-after *x* 3) 1 > *x* 4 >
Note
Declared numeric and pseudo
probability versions of incf-after are also
provided: incf-after&, incf-after$&,
incf-after$, incf-after$$,
incf-after$$$, and incf-after%.
The GBBopen Project
![]() | ![]() | ![]() | incf-after | ![]() |