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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: stopping a loop iteration without exiting it Date: Fri, 05 Jan 2018 16:53:40 -0800 Organization: None to speak of Message-ID: References: <81971548-23c9-4927-a6a8-6f0f1dba896b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="104bc7c9e93083c3140695cb14d39700"; logging-data="22515"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19M+3SW3Ic/ES0DH7xaX+0G" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:WCvMsZivTvVG5sqIoWxuibpUKcI= sha1:o7oCZiQdY8DsKA2yMlUMsZsSWdk= Xref: reader02.eternal-september.org comp.lang.ada:49776 Date: 2018-01-05T16:53:40-08:00 List-Id: "Dmitry A. Kazakov" writes: [...] > P.S. What I don't understand is why loop names cannot serve as labels. > Why this: > > loop > ... > goto Continue; > ... > <> > end loop; > > Instead of simple: > > Process : loop > ... > goto Process; > ... > end loop Process; So you want "goto Loop_Name" to branch to the *bottom* of the loop, not the top? I think that would confuse a lot of people. If such a feature were to be added, you might as well call it "continue". > P.P.S. When-for-everyone is long overdue: > > goto