XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next
1-
Type: |
- |
function (subr) |
Source: |
- |
xlmath.c |
Syntax
- (1- expr)
- expr - integer or floating point number/expression
returns - the number minus one
Description
The '1-' [decrement] function subtracts one from a number
and returns the result.
Examples
(1- 1) ; returns 0
(1- 99.6) ; returns 98.6
(1- 1 2) ; error: too many arguments
See the
1-
function in the XLISP 2.0 manual.
Back to Top
XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next