CompareCalcObject(Obj1: ICalcObject, Obj2: ICalcObject): Integer;
Obj1. The first object of calculation algorithm.
Obj2. The second object of calculation algorithm.
The CompareCalcObject method compares calculation algorithm objects.
This method can be redetermined in a custom class.
The method should return the following values:
1. If Obj1 for some reason is greater than Obj2.
-1. If Obj1 for some reason is less than Obj2.
0. If Obj1 and Obj2 are equal.
The property use is given in the example for ICalcObjectsList.Sort.
See also: