The '-' function subtracts one or more numbers from the first number given and returns the result. If there is only one number as an argument, it is negated.
(- 1) => -1 (- 1 2) => -1 (- 1 2 3) => -4 (- 1 2 3 4) => -8
> (print (- 1 2 (* 3.5 (/ 3.9 1.45)))) -10.4138 -10.4138
See * , / , print. XLISP first prints the value on the screen, the second number is the return value.
See also: