btmux-0.6-rc4/doc/
btmux-0.6-rc4/event/
btmux-0.6-rc4/game/
btmux-0.6-rc4/game/maps/
btmux-0.6-rc4/game/mechs/
btmux-0.6-rc4/game/text/help/
btmux-0.6-rc4/game/text/help/cat_faction/
btmux-0.6-rc4/game/text/help/cat_inform/
btmux-0.6-rc4/game/text/help/cat_misc/
btmux-0.6-rc4/game/text/help/cat_mux/
btmux-0.6-rc4/game/text/help/cat_mux/cat_commands/
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/
btmux-0.6-rc4/game/text/help/cat_templates/
btmux-0.6-rc4/game/text/wizhelp/
btmux-0.6-rc4/include/
btmux-0.6-rc4/misc/
btmux-0.6-rc4/python/
btmux-0.6-rc4/src/hcode/btech/
btmux-0.6-rc4/tree/
& switch()
 
  Syntax: switch(<str>[,<pat1>,<res1>]...[,<dflt>])
 
  The switch function compares <str> against <pat1>, <pat2>, etc 
  (allowing * to match any number of characters and ? to match any 1 
  character), and returns the corresponding <resN> parameter for the 
  first <patN> pattern that matches. If none match, then the default 
  result <dflt> is returned.
 
  Example:
  > say switch(c,*a*,A,*b*,B,*c*,C,*d*,D,E)
  You say "C"
  > say switch(f,*a*,A,*b*,B,*c*,C,*d*,D,E)
  You say "E"
  > say switch(cab,*a*,A,*b*,B,*c*,C,*d*,D,E)
  You say "A"
  > say switch(f,*a*,A,*b*,B,*c*,C,*d*,D)  
  You say ""
 
	See Also: @switch, match(), ifelse(), case()