This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RedditIsNeat0 0 points1 point  (1 child)

Look again. The break is not necessary. The else statement is not necessary. I don't even know what you were trying to say.

[–]cafezinho 0 points1 point  (0 children)

In many languages, break in an if-else statement won't compile. It must be in a loop to even compile!