[Csnd] undo a score statement immediately after

Hi,

is there a way to undo a score statement immediately after I sent it ?

e.g.

instr 1
print 1
endin

schedule 1, 1, 1
turnoff2 1, 0, 0

Here, the schedule will work anyway. I'd need to undo the schedule event.

Thanks,

j

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

i think this should do the job:
https://csound.com/docs/manual/turnoff3.html