Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] should we have "break" inside a for-loop?

Hlöðver Sigurðsson <[email protected]> Sat, 27 Sep 2025 10:41:50 +0300
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CAB8vR8Lp2rn4tDEw9wo9iq4wZU4qkXnBgzh3ikeyvuQqVSMySw@mail.gmail.com>
I'll volunteer, no worries

On Sat, 27 Sept 2025 at 10:23, Victor Lazzarini <
[email protected]> wrote:

> To me too, but the trouble is who is going to write the code? I like all
> the suggestions etc but we're quite limited in what we can do at the moment.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 27 Sep 2025, at 01:28, Steven Yi <[email protected]> wrote:
> >
> > *Warning*
> >
> > This email originated from outside of Maynooth University's Mail System.
> Do not reply, click links or open attachments unless you recognise the
> sender and know the content is safe.
> >
> > Seems reasonable to me.
> >
> >> On Fri, Sep 26, 2025 at 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"?
>