COMPOBJ( ) Function

Example   See Also

Compares the properties of two objects and returns true (.T.) if their properties and property values are identical.

Syntax

COMPOBJ(oExpression1, oExpression2)

Arguments

oExpression1, oExpression2

Specifies the objects to compare. oExpression1 and oExpression2 can be any expressions that evaluate to objects, such as object references, object variables, or object array elements.

Returns

Logical

Remarks

COMPOBJ( ) returns false (.F.) if an object has a property that the other object doesn't have, or if the objects have identical properties but the values of one or more properties differ.