Originally posted by luco zhao:
I was wondering whether "break middle" has the same effect as "continue outer"? 3x.
Luco,
In this case both "break middle" and "continue outer" have exactly the same effect. However, there is a slight difference between the one and the other:
* "continue outer" will start the next iteration of the outer loop, ignoring any code after middle loop in outer loop.
* "break middle" will execute the code after middle loop before starting the next iteration of outer loop.
As in this case we don't have any code after middle loop in outer loop, this difference is not relevant.
Hope it helps
Eduard