Skip to content

cntread

Read current value of a counter object without changing it.

⚠ Deprecated alias

cntRead is a deprecated alias of cntread in Csound 7. Use cntread in new code. The old name still works for compatibility.

Plugin opcode in counter.

Syntax

kval = cntread(icnt)
kval cntRead icnt

Initialization

icnt -- a handle for the counter.

Performance

Reads a counter object.

See also

Program Flow Control: Counter

Credits

By: John ffitch June 2020

New in version 6.15