This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

^equal( data1, data2 )^ (DEPRECATED)

This pages describes features, codes or syntax whose use is now DEPRECATED, i.e. not advised either for new or continued pre-existing use.

Deprecated aspects of Tinderbox may be supported on a legacy basis but the latter support can't be presumed to be indefinite. Therefore you should update your active TBX documents to latest practice as soon as practical.

Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Boolean Comparison   [other codes of this type]

 item   [codes with similar scope]

 Already in v5.0.0


DEPRECATED - use '==' equality operator.

^equal( data1, data2 )^

DEPRECATED. Use the '==' equality operator instead. Thus the result of ^value(if("yes"=="no"){"yes"}else{"no"})^ is: no.

Thus ^not()^ is similarly deprecated.

Old usage is below.

If data1 is equal to data2, this condition is true. To test inequality, test within ^not()^.

Result of ^equal(yes,yes)^ is: true

Result of ^equal(yes,no)^ is: false

Possible relevant notes (via "Similar Notes" feature):

A Tinderbox Reference File : Deprecated Usage : Deprecated Export Codes : ^equal( data1, data2 )^ (DEPRECATED)