Return T if they're the same.
This function tells you whether two (or more) items are equal:
If the function contains more than two items, this function returns T (true) when each item to the right is equal to the item on its left. The items can be numbers or strings.
Examples
This expression | Returns |
---|---|
(= 8 8) | T |
(= 10 10.0 10) | T |
(= "x" "y") | nil |
(= "door" "door") | T |
(= "door" "door" "door") | T |
(= 10) | T |
NOTES
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. |