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

Victor Lazzarini <[email protected]> Sat, 27 Sep 2025 07:57:49 +0000
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
That's great, thanks. I don't really know enough myself to do anything like that.
Prof. Victor Lazzarini
Maynooth University
Ireland

On 27 Sep 2025, at 08:42, Hlöðver Sigurðsson <[email protected]> wrote:


I'll volunteer, no worries

On Sat, 27 Sept 2025 at 10:23, Victor Lazzarini <[email protected]<mailto:[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]<mailto:[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]<mailto:[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"?