> (greater than)

AutoCad AutoLISP Functions

 
> (greater than)
 
 
 

Returns T if each argument is numerically greater than the argument to its right; otherwise returns nil

(> numstr [numstr] ...) 

Arguments

numstr

A number or a string.

Return Values

T, if each argument is numerically greater than the argument to its right; otherwise nil. If only one argument is supplied, > returns T.

Examples

(> 120 17)                returns  T 
(> "c" "b")               returns  T 
(> 3.5 1792)              returns  nil 
(> 77 4 2)                returns  T 
(> 77 4 4)                returns  nil