At 06:38 PM 3/20/98 -0500, Robert I. Eachus wrote:
>At 05:51 PM 3/19/98 -0500, Mike Kamrad wrote:
>>  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?

>
>    ...
>    when D =>
>      Do_Some_Processing;
>      if Condition
>      then
>        Error_Message;
>        continue;
>      end if;
>      More_Processing;
>    when E => ...
>
>     and of course what we really write in Ada is:
>    ...
>    when D =>
>      Do_Some_Processing;
>      if Condition
>      then
>        Error_Message;
>      else
>        More_Processing;
>      end if;
>    when E => ...
>
>    (Or possibly "if not Condition"  but I like to put the (shorter)error
>cases first.)  In any case, I have yet to use a goto or even want a
>continue in such code.

thanks for this compelling example.  I sometimes forget there are very good
alternatives in Ada without resorting to gotos...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