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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ec4cde5d799065b6 X-Google-Attributes: gid103376,public From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Is there an ADA analogue to the C++ continue statement? Date: 1997/09/22 Message-ID: <6050ol$3rf$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 274416911 References: <01bcc32e$350b5ba0$6409868b@gateway> <5vqm61$fu2$1@cf01.edf.fr> Organization: Comp Sci, RMIT University, Melbourne, Australia. NNTP-Posting-User: ok Newsgroups: comp.lang.ada Date: 1997-09-22T00:00:00+00:00 List-Id: dewar@merv.cs.nyu.edu (Robert Dewar) writes: >Algol-60 did not have this construct ['continue'], > and the algol family generally followed this >lead. Pascal for instance has no goto, and the one place you will find >goto used in Wirth's book on algorithms is precisely for the continue >construct given above (actually that's not quite true, there is another >place where he uses it for a break out on an exceptional condition, but >one would be more likely to use an exception for this purpose in Ada. Pascal _does_ have a goto. In fact, the Pascal goto can even take you out of the current subprogram into one of its (lexical) ancestors. Note that Algol 60 also didn't have a 'while' statement or a 'case' statement, yet Pascal had both. -- Unsolicited commercial E-mail to this account is prohibited; see section 76E of the Commonwealth Crimes Act 1914 as amended by the Crimes Legislation Amendment Act No 108 of 1989. Maximum penalty: 10 years in gaol. Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.