[Csnd-dev] should we have "break" inside a for-loop?
Date | 2025-09-27 01:01 |
From | joachim heintz |
Subject | [Csnd-dev] should we have "break" inside a for-loop? |
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"? |
Date | 2025-09-27 01:12 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] should we have "break" inside a for-loop? |
+1 On Fri, Sep 26, 2025, 8:01 PM joachim heintz <jh@joachimheintz.de> wrote: i think this is the classical case to leave a loop like |
Date | 2025-09-27 01:28 |
From | Steven Yi |
Subject | Re: [Csnd-dev] should we have "break" inside a for-loop? |
Seems reasonable to me. On Fri, Sep 26, 2025 at 8:01 PM joachim heintz |
Date | 2025-09-27 08:23 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] should we have "break" inside a for-loop? |
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 |
Date | 2025-09-27 08:41 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] should we have "break" inside a for-loop? |
I'll volunteer, no worries On Sat, 27 Sept 2025 at 10:23, Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> 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. |
Date | 2025-09-27 08:57 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] should we have "break" inside a for-loop? |
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 <hlolli@gmail.com> wrote:
|