Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

1-

1-

type: function (subr) 
location: built-in
source file: xlmath.c
Common LISP compatible: yes
supported on: all machines

SYNTAX

(1- <expr> )
        <expr>          -       integer or floating point number/expression

DESCRIPTION

The decrement (1-) 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


Go to the first, previous, next, last section, table of contents.