Endswitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
The '''endswitch''' statement simply ends a switch argument.
The '''endswitch''' statement simply ends a switch argument. See [[switch]].


   [[switch]] <gamevar>
   [[switch]] <gamevar>

Revision as of 10:48, 24 July 2006

The endswitch statement simply ends a switch argument. See switch.

 switch <gamevar>
   case <constant>
     <do something>
     break
   case <constant>
     <do something>
     break
 endswitch