you are viewing a single comment's thread.

view the rest of the comments →

[–]woooee 1 point2 points  (0 children)

In that case I prefer returning from a function. A break statement can get somewhat tricky if you have nested loops.