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.200.46.215 with SMTP id i23mr8066978qta.26.1515409548500; Mon, 08 Jan 2018 03:05:48 -0800 (PST) X-Received: by 10.157.64.70 with SMTP id o6mr533855oti.7.1515409548340; Mon, 08 Jan 2018 03:05:48 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!m31no2688158qtf.0!news-out.google.com!t48ni925qtc.1!nntp.google.com!m31no2688157qtf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Jan 2018 03:05:48 -0800 (PST) In-Reply-To: <48135cc1-d9e6-47cb-9b4e-a71bafc0e374@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=158.110.28.161; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 NNTP-Posting-Host: 158.110.28.161 References: <81971548-23c9-4927-a6a8-6f0f1dba896b@googlegroups.com> <48135cc1-d9e6-47cb-9b4e-a71bafc0e374@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <078fdc49-d8b0-48a5-a7d6-6a1705c18e28@googlegroups.com> Subject: Re: stopping a loop iteration without exiting it From: mockturtle Injection-Date: Mon, 08 Jan 2018 11:05:48 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2102 X-Received-Body-CRC: 2403180944 Xref: reader02.eternal-september.org comp.lang.ada:49810 Date: 2018-01-08T03:05:48-08:00 List-Id: On Saturday, January 6, 2018 at 9:49:48 AM UTC+1, gautier...@hotmail.com wrote: > > The loop top and bottom are logically the same place. That is what loop > > actually means. > > Not so simple! With a for loop (say for i in 1..10 loop), a "goto top of loop" would mean redo the same iteration i, a "goto bottom of loop" would mean increment i or exit if i=10. Well, remaining in this hypothetical syntax, I could suggest goto end Loop_Name or even goto end of Loop_Name since "end" and "of" are already keywords. Maybe at first sight one could mistake as a request to exit the loop, but I guess that you'll learn fast the real meaning