Posts: 10,066
	Threads: 38
	Joined: Sep 2007
	
Reputation: 
0
	 
	
	
		Yes, a continue or break statement only affects the lowest enclosing loop (in your case the while). Depending on what you actually want to do, I suggest just breaking out of the while. But if you have any extra code after the while loop, but within the for loop, you have a problem.