The first is greater than the others .
The greater-than function displays 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 greater than the item to its left. The items can be numbers or strings.
Examples
This expression | Returns |
---|---|
(> 6 4.9) | T |
(> 7 8) | nil |
(> 6 4 4) | nil |
(> 6) | T |
(> "y" "x") | T |
NOTE This function is the opposite of the <= (Less 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. |