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

REBOL 3 Functions: >

>  value1  value2

Returns TRUE if the first value is greater than the second value.

Arguments:

value1

value2

See also:

greater?   <   <=   >=   =   <>   min   max  

Description

Returns FALSE for all other values. The 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 "abc" > "abb"
true
print 16-June-1999 > 12-june-1999
true
print 4.3.2.1 > 1.2.3.4
true
print 11:00 > 12:00
false
print [1 2 3] > [1 1 3]
true


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