471,350 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

break for nested loop ????

mhk
Hi,

i have a nested loop in Javascript and i have a break statement in inner
loop. As break statement takes control come out of inner loop.

I want to come out of both loops if break statement reaches in inner loop.

is there any way to do that ??

Please help. thanks alot.

Jul 23 '05 #1
1 3133
mhk


mhk wrote:
Hi,

i have a nested loop in Javascript and i have a break statement in inner
loop. As break statement takes control come out of inner loop.

I want to come out of both loops if break statement reaches in inner loop.

is there any way to do that ??

Please help. thanks alot.

*************************************
ohhh... maybe i can use labeled break in Javascript. Correct ?
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ann | last post: by
5 posts views Thread by viza | last post: by
5 posts views Thread by Martin Schou | last post: by
7 posts views Thread by Colin King | last post: by
3 posts views Thread by Krish | last post: by
22 posts views Thread by Cogito | last post: by
8 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.