Sign in Join
FPDoc Onlineexperiment

TCustomVariantType.Compare procedure

Member of TCustomVariantTypepublicIn unit Variants

Comparison 2 custom variant values.

Declaration

pascal
procedure Compare(const Left: tvardata; const Right: tvardata; 
 var Relationship: TVarCompareResult); virtual

Arguments

Left

Left operand.

Right

Right operand.

Relationship

Relationship to test.

Description

Compare performs the comparison specified in Operation on left and Right and returns the result of the comparison. The TCustomVariantType implementation of this method raises an 'unsupported' error. Descendent classes must override this method.

Errors

If a descendent does not override this, an 'unsupported' error is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.