🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1235

Re: Taming The Switch-Statement

#1235
From: Rosario19
Date: Sun, 01 Nov 2026 09:17
17 lines
1795 bytes
On Sun, 01 Nov 2026 10:13:44 +0100, Rosario19  wrote:

>It due my ignorance of C, I not see all these problem on all this
>LoopName for me is easy that is a label
>the position of label is inside the {}

before each loop internal {} instruction

>as
>
>for(Ini();f();Inc())
>{LoopName:
> ...
> if(cond) break LoopName; // would mean just if(cond) goto LoopName;  
>}

Technical Details
Message-ID: <er0eelhr66sha4iel2k54mra1lgnbe2c70@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <119qf6l$2rmg3$1@dont-email.me> <11b2eck$3pvd9$1@dont-email.me> <20261018171339.00005308@yahoo.com> <11b2pq5$3pvda$7@dont-email.me> <11b3gkj$mt2$1@reader2.panix.com> <11b3m1r$3tp6p$1@paganini.bofh.team> <0gvdell6lp924u0h8qt3aulubc89tfndfl@4ax.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Rosario19 <Ros@invalid.invalid>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Sun, 01 Nov 2026 10:17:44 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <er0eelhr66sha4iel2k54mra1lgnbe2c70@4ax.com>
References: <119qf6l$2rmg3$1@dont-email.me> <11b2eck$3pvd9$1@dont-email.me> <20261018171339.00005308@yahoo.com> <11b2pq5$3pvda$7@dont-email.me> <11b3gkj$mt2$1@reader2.panix.com> <11b3m1r$3tp6p$1@paganini.bofh.team> <0gvdell6lp924u0h8qt3aulubc89tfndfl@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 01 Nov 2026 09:09:47 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1930709"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/EKyvOFDm55Es9nZKabXi+PsRpPK/qDuU="; posting-host="35da1d5d5686e3d22afe7b844cfd8830"
Cancel-Lock: sha1:z/T/fhcTnOIcaKgtqff+N3YfEiU= sha256:E5f6c8/RdvJqA9LjqMypL4m6j52ooTCANiBLnq94e84=
	sha1:INSk0XEb9rWLE0m2tKEapzffvO0= sha256:8SPUkdLc/NsvDlyPNLRGb+4f1Faq4dD+U6tRHo351Ug=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)