Please enable JavaScript to view this site.

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

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC