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