Vadd()

From TinyMUX
Revision as of 17:52, 25 November 2010 by Ihavenomouth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


vadd(<vector|scalar>,<vector|scalar>[,<delim>][,<output delim>])

Returns the result of either the addition of a vector by a scalar or the addition of two vectors. A vector is a list of numbers separated by spaces or a delimiter, and may have up to 20 dimensions.

Example

> think vadd(1 2 3,4 5 6)

5 7 9

> think vadd(0|0|0,1|2|3,|,^)

1^2^3

Related Topics

vsub()