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.68.5 with SMTP id r5mr10948838ioa.134.1515495907102; Tue, 09 Jan 2018 03:05:07 -0800 (PST) X-Received: by 10.157.95.22 with SMTP id f22mr694934oti.3.1515495906952; Tue, 09 Jan 2018 03:05:06 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no1869943itg.0!news-out.google.com!b73ni6129ita.0!nntp.google.com!i6no1878147itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 9 Jan 2018 03:05:06 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2003:c7:83cd:cab1:78b4:c2d0:eceb:80eb; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 2003:c7:83cd:cab1:78b4:c2d0:eceb:80eb References: <81971548-23c9-4927-a6a8-6f0f1dba896b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5879f25e-c825-4c84-a219-293d1508b33d@googlegroups.com> Subject: Re: stopping a loop iteration without exiting it From: AdaMagica Injection-Date: Tue, 09 Jan 2018 11:05:07 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2015 X-Received-Body-CRC: 3922665789 Xref: reader02.eternal-september.org comp.lang.ada:49823 Date: 2018-01-09T03:05:06-08:00 List-Id: Process : loop ... goto Process; ... end loop Process; For me, this looks like the loop is restarted from the beginning, as is the case here: <> : loop ... goto Process; ... end loop; So, no, goto to the loop name is a very bad idea. We have a simple solution with goto that is unambiguous loop ... goto Continue; ... <> end loop; so why on earth can't we save our time and go on to discussing more important problems with Ada? In the Ada Issues, you can find a lot of unsolved problems. Put your gray cells there!