Difference between revisions of "Switch Statement"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
mod:Sedric Raymaker-- it would also cut down on huge nested if statements, little surprised is not available, but can work around for now | mod:Sedric Raymaker-- it would also cut down on huge nested if statements, little surprised is not available, but can work around for now | ||
Revision as of 17:41, 12 July 2007
Basic C switch statement. This would be especially useful for cycling through constants that don't overlap with each other. (i.e. TYPE_* or ATTACH_*)
mod:Sedric Raymaker-- it would also cut down on huge nested if statements, little surprised is not available, but can work around for now