Data.DBXCommon.TDBXBooleanValue.Compare

From RAD Studio API Documentation
Jump to: navigation, search

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 TDBXBooleanValue

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