Switch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
break | break | ||
endswitch | endswitch | ||
[[Category:EDuke commands]] |
Revision as of 16:47, 24 September 2005
The switch statement in con is similar to that in C.
switch <gamevar> case <constant> <do something> break case <constant> <do something> break endswitch