Add all these numbers together.
This function returns the sum of all numbers. You can use real numbers or integers. Adding all integer numbers returns an integer number. When there is a combination of real numbers and integers, the result is a real number.
Examples
This expression | Returns |
---|---|
(+ 6 7) | 13 |
(+ 8 7.25) | 15.2500 |
(+ 12 24 18) | 54 |
(+) | 0 |
(+ 2) | 2 |
Tell me about...
(setq symbol1 statement1 [symbol2 statement2] ...)
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |