RFC: Behavior of continue in do/while loops.

Manfred Nowak svv1999 at hotmail.com
Wed Sep 12 13:38:48 PDT 2007


Downs wrote

> First, if you were starting a new language, should the behavior of
> continue in that language match what I expected in this case?
> (theoretical case)

No.

According to your introduction you might have entangled yourself by 
trying to optimize away a loop nested in another loop:

do{
  do{
  }while( );
}while( );

-manfred



More information about the Digitalmars-d mailing list