D - Labeling loop
I think it coulb interresting to label the for and while loop. So it
could much easy to get out of the loop with break or continue. If there
many loop, only one break would be necessary.
label : for (;;){
for(;;)
	{
	print("Toto");
	break label;
	}
}
nicO
 Aug 21 2001
Already implemented! -Walter
nicO wrote in message <3B82D8A7.E1A4CE13 ifrance.com>...
I think it coulb interresting to label the for and while loop. So it
could much easy to get out of the loop with break or continue. If there
many loop, only one break would be necessary.
label : for (;;){
for(;;)
 {
 print("Toto");
 break label;
 }
}
nicO
 Aug 22 2001








 
  
  
  "Walter" <walter digitalmars.com>
 "Walter" <walter digitalmars.com>