XLL+ Class Library

CXlArray::Compare

Compare the contents of this CXlArray with another

[C++]
int Compare(
   const CXlArray& xla
) const;

Parameters

xla

A reference to a CXlArray object.

Return value

Returns 1 if the value in this object is greater than that in xla, -1 if xla is less and 0 if the two are equal.

Remarks

This function acts like strcmp() and similar 'C' library functions.

Note that CXlArrays are sorted by size first and then by value.

Requirements

Header: xllplus.h

See Also

CXlArray Class | CXlArray Methods