Using break in a switch statement causes a compiler error. Dream Makers reference states 'The "break" instructor may be used to exit from a switch statement'
Example
mob
verb
Switch()
var/A="Test"
switch(A)
if("Test")
if(1==1)
break
world<<"Blah"
else
world<<"?"
world<<"Hi"
Expected Results:
Switches compiling with break statements.
Actual Results:
Compiler error: "break: not in a loop"
Workarounds:
Shoving the switch into a "do-while" that never loops, or labeling the switch and break.