_ObjectCmp( ) API Library Routine

See Also

Compares the properties of two objects and returns 0 if their properties and property values are identical.

Syntax

int _ObjectCmp(Value FAR *objct1, Value FAR *objct2)

Remarks

0 is returned if the objects have identical properties and property values. -1 is returned 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.

If an error occurs (for example, if you omit one of the objects), the negative value of the corresponding Visual FoxPro error code is returned.

For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.