| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Constructs | NO | NO | YES | All |
This command causes Omnis to jump out of the current Case statement (i.e. terminate the Case before the end of Case is reached), and resume method execution after the End Switch command. You use it in conjunction with the Switch and Case commands.
# If lCount equals 1 or 2 the ok message following the Break to end of switch never gets shown
SwitchlCountCase1OK message{lCount equals 1}Break to end of switchOK message{I never run}Case2OK message{lCount equals 2}Break to end of switchOK message{I never run}DefaultOK message{lCount not equal to 1 or 2}
End Switch