Jump to content

Switch

From EDukeWiki
Revision as of 15:42, 18 July 2006 by Hendricks266 (talk | contribs)

The switch statement in con is similar to that in C.

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