From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public From: claveman@inetworld.net (Charles H. Sampson) Subject: Re: Software landmines (loops) Date: 1998/10/04 Message-ID: <1dge7py.7401x8z7ne24N@u2n207167116162.inetworld.net>#1/1 X-Deja-AN: 397817819 References: <6qfhri$gs7$1@nnrp1.dejanews.com> <35cb8058.645630787@news.ne.mediaone.net> <902934874.2099.0.nnrp-10.c246a717@news.demon.co.uk> <6r1glm$bvh$1@nnrp1.dejanews.com> <6r9f8h$jtm$1@nnrp1.dejanews.com> <6renh8$ga7$1@nnrp1.dejanews.com> <6rf59b$2ud$1@nnrp1.dejanews.com> <6rfra4$rul$1@nnrp1.dejanews.com> <35DBDD24.D003404D@calfp.co.uk> <6sbuod$fra$1@hirame.wwa.com> <35f51e53.48044143@news.erols.com> <6sdiav$e0g$1@hirame.wwa.com> <6sfcft$70p$1@hirame.wwa.com> <1dg8p3r.vfredh1aou58iN@n207167116191.inetworld.net> <6v2nr9$t8l$1@hirame.wwa.com> <1dgane6.16owv2g7g8ov8N@u2n207167116151.inetworld.net> X-Trace: news2.randori.com 907567013 207.167.116.162 (Sun, 04 Oct 1998 22:56:53 PDT) NNTP-Posting-Date: Sun, 04 Oct 1998 22:56:53 PDT Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada Date: 1998-10-04T00:00:00+00:00 List-Id: Reimer Behrends wrote: > Charles H. Sampson (claveman@inetworld.net) wrote: > [...] > > But it does. Just look. That's not a for-loop or a while-loop. > > It's a loop that can only be executed with an exit statement and it has > > just one. (Yes, an exception can cause it to exit too, but gimme a > > break.) > > You may notice, however, that the loop _body_ has two different exits > for a mid-exit loop. I don't know about others, but I don't notice any such thing. Here is a cut down version of the loop we were discussing. loop exit end loop Please point out the two exits (neither nor has one) or give the definition of that you're using. Charlie -- To get my correct email address, replace the "claveman" by "csampson" in my fake (anti-spam) address.