Data.DBXCommon.TDBXInt16Value.Compare

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXInt16Value

Delphi

function Compare(Other: TDBXValue): Smallint; override;

C++

virtual short __fastcall Compare(TDBXValue* Other);

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.


See Also