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/
& foreach()
 
  Syntax: foreach([<object>/]<attribute>,<string>[,<begin>, <end>])
 
  Maps a function onto a string.
 
  Each character in <string> has the user-defined function of the 
  first argument performed on it; the character is passed to the 
  function as %0. The results are concatenated. If <begin> and <end> 
  are specified, only the characters between <begin> and <end> are 
  parsed, other characters are concatenated as they are. This allows 
  a rudimentary form of tokens and speeds up the evaluation greatly 
  if tokenizing is your purpose.
 
  Example:
 
  > &add_one me=[add(%0,1)]
  > say [foreach(add_one, 54321)]
  You say, "65432"
 
  > &add_one me=[add(%0,1)]
  > say [foreach(add_one, This adds #0# to numbers in this 
  string,#,#)]
  You say, "This adds 1 to numbers in this string."