SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, it's OK - it's just like using it in an if statement. Of course, you can't use a break to break out of a loop from inside a switch.
if
break