Sujet : Re: Checking the loop variable after the loop has ended (Was: Loops (was Re: do { quit; } else { }))
De : Ros (at) *nospam* invalid.invalid (Rosario19)
Groupes : comp.lang.cDate : 24. Apr 2025, 21:43:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <2a8l0k1ecs2j3rihhen4kjvdr6udb7785d@4ax.com>
References : 1 2 3 4 5 6 7
User-Agent : Forte Free Agent 1.93/32.576 English (American)
On Fri, 18 Apr 2025 16:07:03 +0100, bart wrote:
for (n = NUM_ENTRIES; (n >= 0) && (node[n] != key); --n) continue;
using goto label would be as this
n=NUM_ENTRIES
L: if(!((n >= 0) && (node[n] != key))) goto Ex
--n; goto L;
Ex: