REBOL Document

== - Function Summary


Summary:

Returns TRUE if the values are equal and of the same datatype.

Usage:

== value1 value2

Arguments:

value1 - The value1 argument.

value2 - The value2 argument.

Description:

Strict equality requires the values to not differ by datatype (so 1 would not be equal to 1.0) nor by character casing (so "abc" would not be equal to "ABC").


    print 123 == 123
    true


    print "abc" == "ABC"
    false

Related:

<> - Returns TRUE if the values are not equal.
= - Returns TRUE if the values are equal.
strict-equal? - Returns TRUE if the values are equal and of the same datatype.


<Back | Index | Next>

Copyright 2004 REBOL Technologies