Usage: SWITCH (<control text>) { (<switch>) { <body> } }

  SWITCH is similar to C's switch statement.  It allows for multiple
  alternatives to a given "control" statement where more than two possible
  values exist.  It is functionally similar to IF except it doesn't
  require excessive nesting for multiple alternatives.

  For example, let's say you've written a script that accepts a special
  command-line flag as the first argument:

    switch ( $0 )
    {
       ( a )
       {
          <action to do for "a" flag>
       }

       ( b )
       ( c )
       {
          <action to do for "b" or "c" flags>
       }
    }

  There is one chief difference between SWITCH and C's switch however.
  Since ircII-EPIC doesn't support any break-like command, it is
  impossible to simulate C's "fall through" capability implicitly; to
  do this you will have to set up a loop.  For this reason, be sure you
  list your alternatives from highest to lowest importance.

  Of course, you can do pretty much anything you want in the <action>
  portion of the SWITCH, including other SWITCHes, loops, or
  other control structure.  Wildcards are allowed in the <switch> text.

  NOTE: Unlike IF, WHILE, and other control statements, SWITCH
  does not require the use of [] for string interpretation or variable
  expansion.  In fact, it is explicitly disallowed, for the simple
  reason that it is unnecessary, since SWITCH only does string
  comparisons.

See Also:
  IF
  expressions
  patterns
