REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: greater-or-equal?

greater-or-equal?  value1  value2

Returns TRUE if the first value is greater than or equal to the second value.

Arguments:

value1

value2

See also:

>=   <   <=   >   =   <>   equal?   lesser-or-equal?   min   max   not-equal?  

Description

Returns false for all other values. Both values must be of the same datatype or an error will occur. For string-based datatypes, the sorting order is used for comparison with character casing ignored (uppercase = lowercase).

print greater-or-equal? "abc" "abb"
true
print greater-or-equal? 16-June-1999 12-june-1999
true
print greater-or-equal? 1.2.3.4 4.3.2.1
false
print greater-or-equal? 1:00 11:00
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin