(1+ number)


Add 1 to the number.


This function adds 1 to the number. You can use a real number or an integer. This function takes exactly one argument.

 

Examples

This expression Returns
(1+ 22) 23
(1+ 5.02) 6.02000
(1+ -36) -35

 

NOTE This function is useful as an increment counter.

 

Tell me about...

(+ number1 number2 ...)

(1- number)

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

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.