in reply to Re: Would you use a switch instead?in thread Would you use a switch instead?
There is the switch module or given/when, etc. Plus, you can mimic a switch with if/else's (although I never liked doing so).