| Main Page | Recent changes | Edit this page | Page history Printable version | Disclaimers | Privacy policy | Not logged in Log in | Help

# Switch

From EDukeWiki

Category: EDuke commands

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

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

Retrieved from "http://sc8-pr-shell1.sourceforge.net../../../s/w/i/Switch.html"

This page has been accessed 226 times. This page was last modified 00:47, 25 September 2005 by Richard Gobeille. Based on work by Peter Green. Content is available under SourceForge.

Main Page
Recent changes
Random page
EDuke32.com

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports