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
Returns T if each argument is greater than the argument to its right — over numbers (by value) and strings (lexicographically).
Return Values
- T on success
- nil otherwise, or if any argument is nil (bottom propagation)
Side Effects
Side effects are those of evaluating the arguments.
Examples
(> 3 2 1) => T(> "b" "a") => T(> 1 nil) => nil— no error (⊥ propagation).(> 1 "a")signals a type error.
Compatibility
Like <, over numbers and strings; strings order lexicographically by code point. Cross-type non-nil arguments signal a type error; a nil argument yields nil. See "The Comparison Operators , /, <, <=, >, >=".
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: documented; string ordering verified by direct probe.
- Status: string-comparison domain confirmed on BricsCAD V26.
Source Notes
- [> (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/ITA/AutoCAD-LT-AutoLISP-Reference/files/GUID-DAB2660E-AB9D-425D-B0C5-C5774164ADCD.htm)
- Status: documented; numbers-and-strings domain confirmed (BricsCAD V26 probe).