TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Mike Kamrad <[log in to unmask]>
Date: Thu, 19 Mar 1998 17:51:06 -0500
Content-Type: text/plain; charset="us-ascii"
Reply-To: Mike Kamrad <[log in to unmask]>
Parts/Attachments: text/plain (18 lines)
One of the engineers asked me if there was an equivalent to the continue
statement in C for loop continuation.  Well, after looking at alternatives,
such as a goto to a null last statement or a loop within a loop, I conclude
there isn't anything as convenient as the continue.  Does anyone with a
Rationale for Ada83 (mine's packed away) or a good memory tell me why
continue wasn't included in the language?  While we're in the same general
area, why wasn't the exit statement permitted to exit a block statement?

Do NOT construe this as a grassroot effort to redesign the language; it's
only my enquiring mind...mike

Mike Kamrad                             [log in to unmask]
BlazeNet                                1.508.370.4343 x139
Suite 300                               1.508.370.4344 FAX
1671 Worcester Road
Framingham MA 01701