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 values are equal.

Arguments:

value1

value2

See also:

<>   ==   equal?  

Description

This word is provided as an op! for the equal? action!. Please consult the documentation of equal? for details.

print 123 = 123
true
print "abc" = "abc"
true
print [1 2 3] = [1 2 4]
false
print 12-june-1998 = 12-june-1999
false
print 1.2.3.4 = 1.2.3.0
false
print 1:23 = 1:23
true


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