TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

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

Print Reply
Mike Kamrad <[log in to unmask]>
Thu, 19 Mar 1998 17:51:06 -0500
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

ATOM RSS1 RSS2