Function Entry: /=
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: /=
Name
/=
Class
Function
Syntax
(/= expr [expr ...])
Arguments and Values
- one or more expressions, each a number or a string (shared domain rule above).
Description
Compares its arguments for inequality over numbers and strings. As with =, numbers compare by value and strings by content.
Return Values
- T if the arguments are unequal under the active semantics
- nil otherwise, or if any argument is nil (bottom propagation)
Side Effects
Side effects are those of evaluating the arguments.
Examples
(/= 1 2) => T(/= "a" "b") => T(/= 1 nil) => nil— no error (⊥ propagation).(/= 1 "1")signals a type error.
Compatibility
The inequality counterpart of =; same numbers-and-strings domain, same type-error-on-incompatible-non-nil and nil-returns-nil rules. See "The Comparison Operators , /, <, <=, >, >=".
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: documented; string comparison verified by direct probe.
- Status: string-comparison domain confirmed on BricsCAD V26.
Source Notes
- [Non-alphabetic Functions Reference (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/KOR/AutoCAD-LT-AutoLISP-Reference/files/GUID-EBDC1072-48BF-4204-80B1-73430DBF58E1.htm)
- Status: documented; numbers-and-strings domain confirmed (BricsCAD V26 probe).