XLL+ Class Library (6.3)

CXlArray::Compare

Compare the contents of this CXlArray with another

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