equals Method

Class: Reference

Description

This method returns an indication of whether the two objects are identical.

Syntax

referenceOne.equals(Reference referenceTwo)

Parameters

referenceTwo

The reference object to compare to.

Returns

1, if the objects are identical.
0, if the objects are not identical.

When Became Available

Profile v6.0

Example

type RecordDEP dep1 = Db.getRecord(“DEP”,”:CID1”)

type RecordDEP dep2 = Db.getRecord(“DEP”,”:CID2”)

type Boolean STATUS = dep1.equals(dep2)

 

* CID1 and CID2 must be defined prior to both getRecord  statements.