title: Using Latex algorithmic package for switch statement?
body: <p>My googling didn't come up with how to do a switch statement in an algorithm using the algorithm and algorithmic packages, but I'm assuming you can. Most guides just didn't mention it either way.</p>
  
  <pre><code>\begin{algorithm}
  \caption{send(...) method}
  \begin{algorithmic}
  \IF{dest equals..}
  %\SWITCH{nature}
  \STATE cast data...
  \STATE extract data...
  \STATE copy...
  %\ENDSWITCH
  \ELSE
  \STATE match dest....
  %\SWITCH{nature}
  \STATE cast data...
  \STATE extract data...
  \STATE send...
  %\ENDSWITCH
  \ENDIF
  \end{algorithmic}
  \end{algorithm}
  </code></pre>
  
  <p>Thanks!</p>