Description Usage Arguments Value Examples
Inter-process counter
1 2 3 4 5 |
id |
character(1) counter or mutex identifier |
n |
integer(1) value from which |
yield()
returns an integer(1) value representing
the next number in sequence. The first value returned is 1.
value()
returns the value to be returned by the next
call to yield()
, without incrementing the counter. If
the counter is not longer available, yield()
returns
NA
.
reset()
returns n
, invisibly.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.