From: "Pascal Obry" <pascal.obry@der.edfgdf.fr>
Subject: Re: Is there an ADA analogue to the C++ continue statement?
Date: 1997/09/18
Date: 1997-09-18T00:00:00+00:00 [thread overview]
Message-ID: <5vqm61$fu2$1@cf01.edf.fr> (raw)
In-Reply-To: 01bcc32e$350b5ba0$6409868b@gateway
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
Heath, Terry D. ask about an Ada equivalent for :
> while (condition-1)
> {
> statement-1;
>
> if (condition-2)
> continue;
>
> statement-3;
> }
What come in mind is :
while condition-1 loop
statement-1;
if not condition-2 then
statement-3;
end if;
end loop;
Note that the C/C++ break statement and the exit statement is Ada
are equivalent.
Pascal.
--
--|------------------------------------------------------------
--| Pascal Obry Team-Ada Member |
--| |
--| EDF-DER-IPN-SID- Ing�nierie des Syst�mes d'Informations |
--| |
--| Bureau G1-010 e-mail: pascal.obry@der.edfgdf.fr |
--| 1 Av G�n�ral de Gaulle voice : +33-1-47.65.50.91 |
--| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 |
--| FRANCE |
--|------------------------------------------------------------
--|
--| http://ourworld.compuserve.com/homepages/pascal_obry
--|
--| "The best way to travel is by means of imagination"
next prev parent reply other threads:[~1997-09-18 0:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-17 0:00 Is there an ADA analogue to the C++ continue statement? Heath, Terry D.
1997-09-18 0:00 ` Robert Dewar
1997-09-18 0:00 ` Pascal Obry [this message]
1997-09-18 0:00 ` Robert A Duff
1997-09-18 0:00 ` Samuel Tardieu
1997-09-19 0:00 ` Robert Dewar
[not found] ` <3422F037.41CA@lmco.com>
1997-09-20 0:00 ` dan13
1997-09-21 0:00 ` Robert Dewar
[not found] ` <3426B51E.7296@lmco.com>
1997-09-22 0:00 ` Coding Standards & GOTO Matthew Heaney
1997-09-23 0:00 ` Mark A Biggar
1997-09-24 0:00 ` Shmuel (Seymour J.) Metz
1997-09-24 0:00 ` W. Wesley Groleau x4923
1997-09-24 0:00 ` Aaron Quantz
1997-09-26 0:00 ` Charles H. Sampson
1997-09-23 0:00 ` Charles Rose
1997-09-24 0:00 ` Matthew Heaney
1997-09-25 0:00 ` Shmuel (Seymour J.) Metz
1997-09-23 0:00 ` Coding Standards W. Wesley Groleau x4923
1997-09-22 0:00 ` Is there an ADA analogue to the C++ continue statement? Richard D Riehle
1997-09-23 0:00 ` GOTO considered Satanic (was: Is there an ADA analogue to the C++ continue statement?) Adam Beneschan
1997-09-24 0:00 ` Brian Rogoff
1997-09-25 0:00 ` Larry Kilgallen
1997-09-26 0:00 ` Matthew Heaney
1997-09-26 0:00 ` Brian Rogoff
1997-10-07 0:00 ` Robert I. Eachus
1997-09-24 0:00 ` W. Wesley Groleau x4923
1997-09-25 0:00 ` Alan Brain
1997-09-25 0:00 ` Shmuel (Seymour J.) Metz
1997-09-22 0:00 ` Is there an ADA analogue to the C++ continue statement? Richard A. O'Keefe
1997-09-29 0:00 ` John G. Volan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox