Do we need "foreach"?

Robert Fraser fraserofthenight at gmail.com
Mon Apr 28 03:23:07 PDT 2008


BCS wrote:
> int i=0;
> for(for(int j=0; j<10; i+=(j++)) if (i<0) break; i; i--) somthing();

Infinite loop'd!



More information about the Digitalmars-d mailing list