Re: [Csnd-dev] should we have "break" inside a for-loop?
Dave Seidel <[email protected]> Fri, 26 Sep 2025 20:12:01 -0400
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAMnrweB7RJdb_AS7iNwiKEr1epqW8+Omg_LN5aTizOWuS_UKJw@mail.gmail.com> |
+1 On Fri, Sep 26, 2025, 8:01 PM joachim heintz <[email protected]> wrote: > i think this is the classical case to leave a loop like > instr 1 > for i in [1 ... 10] do > if i == 3 then > break > endif > od > endin > > currently we have igoto and label for this case --- possible but a bit > awkward. > > would it be good to implement "break"? >