ereinion
Member
Say I have some code which looks like this:
	
	
	
		
Will the "break" inside the foreach just break out of the loop, or will it break out of the switch statement?
				
			
		Code:
	
	switch (last_choice()) {
    case 1000:
            choices = available_choice_options();
            foreach key in choices {
                if (choices[key].contains_text("Whatever")) {
                    run_choice(key);
                    break;
                }
            }
    break;
}Will the "break" inside the foreach just break out of the loop, or will it break out of the switch statement?
 
	 
 
		