increment
Tag
Creates a new number variable, increases its value by 1
every time it is called, and
outputs it.
Description
Creates a new number variable, increases its value by 1
every time it is called,
and outputs it. The initial value is 0
.
Consider this example:
Note that increment
works independently of variables created by
assign
and
capture
, even if they share the
same name.
Parameters
None.