add()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/add() · 431 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& add()
 
  Syntax: add(<number1>,<number2>[,<numberN>]...)
 
  This function returns the result of adding its arguments together. 
  You may add up to 30 numbers in one add() call. 
  The <numberN> may be a floating point number, and a floating point 
  result is returned.
 
  Example:
 
  > say add(2,4)
  You say "6"
  > say add(5,3,7,-4)
  You say "11"
 
  See also: inc(), dec(), div(), mod(), mul(), sub().

Site Stats

Snippets: 1791
Codebases: 571