next up previous

12.1.16 Greater Than or Equal Comparison

The >= function returns the symbol TRUE if for all its arguments, argument n1 is greater than or equal to argument n, otherwise it returns the symbol FALSE. Note that >= compares only numeric values and will convert integers to floats when necessary for comparison.

Syntax

(>= <numeric-expression> <numeric-expression>+)

Example

CLIPS> (>= 5 5 3)
TRUE
CLIPS> (>= 5 3 5)
FALSE
CLIPS>


Portability Note

See portability note in section 12.1.13.


next up previous