Function to read the current value of the counter.
NOTE: The similar instruction ct_cv() is used instead to set the current value of the counter.
Syntax |
real ct_cv (counter cnt) |
---|---|
cnt |
Counter name (defined as type of variable) |
Result |
Returns the value of the counter |
Validity |
Rule, Task |
Note |
Useful for creating retentive counters |
Example of use:
|