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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.51.19 with SMTP id z19mr12990408ioz.70.1515581529630; Wed, 10 Jan 2018 02:52:09 -0800 (PST) X-Received: by 10.157.14.142 with SMTP id 14mr841598otj.2.1515581529528; Wed, 10 Jan 2018 02:52:09 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!paganini.bofh.team!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!i6no40476itb.0!news-out.google.com!b73ni7454ita.0!nntp.google.com!i6no40473itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 10 Jan 2018 02:52:09 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:c7:83cd:caad:e185:d245:39a2:b5f4; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 2003:c7:83cd:caad:e185:d245:39a2:b5f4 References: <81971548-23c9-4927-a6a8-6f0f1dba896b@googlegroups.com> <5879f25e-c825-4c84-a219-293d1508b33d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: stopping a loop iteration without exiting it From: AdaMagica Injection-Date: Wed, 10 Jan 2018 10:52:09 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:49834 Date: 2018-01-10T02:52:09-08:00 List-Id: Am Dienstag, 9. Januar 2018 14:07:43 UTC+1 schrieb Dmitry A. Kazakov: > On 09/01/2018 13:50, Simon Wright wrote: > > "Dmitry A. Kazakov" writes: > > > >> On 09/01/2018 12:05, AdaMagica wrote: > >>> Process : loop > >>> ... > >>> goto Process; > >>> ... > >>> end loop Process; > >>> > >>> For me, this looks like the loop is restarted from the beginning > >> > >> Which is exactly what loop continuation/next iteration is. > > > > Loop continuation/next iteration is exactly *not* restarting from the > > beginning. > > Of course it is. Unless under "restarting" you mean not repeating the > loop's top and body, but repeating the loop statement as a whole, which > would be silly to do. This is sophistry. Fact is that any syntax that might lead to ambiguities is not going to fly because it's incompatible with the basics of Ada.