Skip to content

cntdelete

Delete a counter and render any memory used.

⚠ Deprecated alias

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

Plugin opcode in counter.

Syntax

kval = cntdelete(icnt)
kval cntDelete icnt

Initialization

icnt -- the handle of a counter object from a call to cntcreate.

Performance

kval -- the handle deleted or a negative number if there was no such counter.

See also

Program Flow Control: Counter

Credits

By: John ffitch August 2020

New in version 6.16