Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question about break 1

Status
Not open for further replies.

browolf

Programmer
Dec 18, 2001
442
GB
if i have 3 nested for loops and I use a 'break' in the inner most one, will it break out of all the for loops or just the one it's in? ===============
Security Forums
 
It will break out of the loop it is in, not outer loops.
Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top