Sign in Join
FPDoc Onlineexperiment

TCompareFunc procedure type

In unit BufDataset

Function used to compare values to determine their relative sort order.

Declaration

pascal
TCompareFunc = function(subValue: pointer; aValue: pointer; 
 size: Integer; options: TLocateOptions): Int64

Arguments

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.