The first is less than the others.
The less-than function returns a T (true) or a nil (false):
If this function contains more than two items, the function returns T when each item to the right is less than the item on its left. The items can be numbers or strings.
Examples
| This expression | Returns |
|---|---|
| (< 9 11) | T |
| (< 25 20) | nil |
| (< 2 6 7) | T |
| (< 2) | T |
| (< -2) | T |
| (< "x" "x") | nil |
| (< "x" "y" "z") | T |
NOTE This function is the opposite of the >=(Greater Than or Equal To operator) function.
Tell me about...
(cond (statement1 result1 ...) ...)
(if test statement1 [statement2])
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. |