Data.DBXCommon.TDBXInt16Value.Compare
Delphi
function Compare(Other: TDBXValue): Smallint; override;
C++
virtual short __fastcall Compare(TDBXValue* Other);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXInt16Value |
Description
Compares the TDBXInt16Value with another TDBXInt16Value given by a parameter.
Compare compares the current TDBXInt16Value with the Other parameter. Compare returns -1 if the current TDBXInt16Value is smaller than Other, 1 if the current TDBXInt16Value is greater than Other, and 0 if they are equal.