Data.DBXCommon.TDBXBooleanValue.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: TDBXBooleanValue

Delphi

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

C++

virtual short __fastcall Compare(TDBXValue* Other);

Description

Compares the TDBXBooleanValue with another TDBXBooleanValue, given by the parameter.


Compare compares the current TDBXBooleanValue with a TDBXBooleanValue given by the Other parameter. Compare returns 0 if the two values are equal, 1 if the current TDBXBooleanValue is True and Other is False, and -1 otherwise.

See Also