Equality and Conditional Functions
 
 
 

The expression evaluator supports the following equality and conditional functions. The words in italics can be replaced by an actual value or a variable.

Expression Description
(= numstr [numstr] ...) Returns T if all arguments are numerically equal, and returns nil otherwise.
(/= numstr [numstr] ...) or (<> numstr [numstr] ...) Returns T if the arguments are not numerically equal, and nil if the arguments are numerically equal.
(< numstr [numstr] ...) Returns T if each argument is numerically less than the argument to the right, and returns nil otherwise.
(<= numstr [numstr] ...) Returns T if each argument is numerically less than or equal to the argument to the right, and returns nil otherwise.
(> numstr [numstr] ...) Returns T if each argument is numerically greater than the argument to the right, and returns nil otherwise.
(>= numstr [numstr] ...) Returns T if each argument is numerically greater than or equal to the argument to the right, and returns nil otherwise.
(and expr ...) Returns the logical AND of a list of expressions.
(or expr ...) Returns the logical OR of a list of expressions.