VarCompareValue

Compare 2 variant values

Declaration

Source position: variants.pp line 102

  function VarCompareValue(const A: Variant; const B: Variant)
                           : TVariantRelationship;

Description

VarCompareValue compares 2 variants A and B. It returns one of the following values:

vrEqual
if the 2 variant values are equal.
vrUnEqual
if one of the 2 variant is null or empty and the other is not.
vrGreaterThan
if A>B
vrLessThan
if A<B

See also

Name Description
VarSameValue Check if 2 variants are the same