CompareValue returns
LessThanValue if A is less than B (by more than Epsilon if A and B are floating-point numbers).
EqualsValue if A is equivalent to B (the same, or within Epsilon if A and B are floating-point numbers).
GreaterThanValue if A is larger than B (by more than Epsilon if A and B are floating-point numbers).
jak on jest póżniej wykorzystywany w celu sortowania.
Nie wiem jak jest później wykorzystywany, gdyż wynik działania funkcji jest przekazywany CustomSort obiektu typu TStringList i to ta funkcja przetwarza dane, które otrzymuje od funkcji pomocniczej.
KOD cpp: UKRYJ
SortList->CustomSort( CustomSortDecreaseInt );
Nie wiem jaką metodę sortowania stosuje funkcja CustomSort gdyż w pomocy poza informacją, że ta funkcja porównuje dwie wartości typu strings nic więcej na ten temat nie ma.






