[Csnd] Breaking out of loops
| Date | 2019-12-27 21:41 |
| From | Jason Hallen |
| Subject | [Csnd] Breaking out of loops |
Hi everyone,
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
I'd like to run a while loop, and if a condition tests true I'd like to break out of the loop and move on to a different section of code. This is done during performance time. Would kgoto be an appropriate opcode for this? I've read about kgoto and think I understand how it works, but I haven't seen anything that explicitly says it can be used to break out of loops. Thanks! Jason |
| Date | 2019-12-27 21:55 |
| From | john |
| Subject | Re: [Csnd] Breaking out of loops |
Should work; afrer all the wile is expanded into gotos
On Fri, 27 Dec 2019, Jason Hallen wrote:
> Hi everyone,
> I'd like to run a while loop, and if a condition tests true I'd like to break
> out of the loop and move on to a different section of code. This is done
> during performance time. Would kgoto be an appropriate opcode for this? I've
> read about kgoto and think I understand how it works, but I haven't seen
> anything that explicitly says it can be used to break out of loops.
>
> Thanks!
> Jason
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |