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 increment (1+) function adds one to a number and returns the result.

EXAMPLES

(1+ 1)                                  ; returns 2
(1+ 99.1)                               ; returns 100.1
(1+ 1 2)                                ; error: too many arguments


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