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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,459feef56669b92d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 10:05:39 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.vmunix.org!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: "continue/next" for "loop" Date: Wed, 5 Nov 2003 18:05:38 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: NNTP-Posting-Host: belenus.iks-jena.de X-Trace: branwen.iks-jena.de 1068055538 13960 217.17.192.34 (5 Nov 2003 18:05:38 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 5 Nov 2003 18:05:38 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:2095 Date: 2003-11-05T18:05:38+00:00 List-Id: * Charles Lindsey wrote: > Yes, that is fine, and it is well-structured. But it is still not the most > general case. Of course. BTW, I found a transformation in the problem space which results in a single if_statement in the nested loop. > 3. There are just TWO acceptable forms of GOTO: > > 3a. The REPEATER > > This is a jump from the inside of one box to the START of some > enclosing box (cutting through as many intermediate boxes as you wish). > > 3b. The COMPLETER > > This is a jump from the inside of one box to the END of some > enclosing box (cutting through as many intermediate boxes as you wish). Ada provides exit_statement for the completer, but misses an equivalent for the repeater. Bad.