TCompareFunc procedure type
Function used to compare values to determine their relative sort order.
Declaration
TCompareFunc = function(subValue: pointer; aValue: pointer;
size: Integer; options: TLocateOptions): Int64Arguments
subValue | Pointer to a compared value. |
aValue | Pointer to a compared value. |
size | Number of bytes included in the comparison. |
options | Locate options to use in the routine. |
Function result
Relative order for the compared pointer values.
Description
TCompareFunc is an
Int64 function type used to compare pointers using the specified locate option values. TCompareFunc is used in the implementation of the TDBCompareRec type.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
