Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Rosario19 Newsgroups: comp.lang.c Subject: Re: Checking the loop variable after the loop has ended (Was: Loops (was Re: do { quit; } else { })) Date: Thu, 24 Apr 2025 22:43:32 +0200 Organization: A noiseless patient Spider Lines: 11 Message-ID: <2a8l0k1ecs2j3rihhen4kjvdr6udb7785d@4ax.com> References: <87ikn3zg18.fsf@nosuchdomain.example.com> <87fri68w2c.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Date: Thu, 24 Apr 2025 22:43:31 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d6cba1b9af80eac05eca5e0a140a8a48"; logging-data="2507615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lucTDuAaxy+tyzoNCu2Y3kAn2VGS34Bw=" Cancel-Lock: sha1:t7eIVRSSByft4gSctiF/O4CJ240= X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Bytes: 1575 On Fri, 18 Apr 2025 16:07:03 +0100, bart wrote: >> for (n =3D NUM_ENTRIES; (n >=3D 0) && (node[n] !=3D key); --n) = continue; using goto label would be as this n=3DNUM_ENTRIES L: if(!((n >=3D 0) && (node[n] !=3D key))) goto Ex --n; goto L; Ex: