RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.TVarCompareResult Enumeration

TVarCompareResult describes the results of comparing two Variants.

Pascal
TVarCompareResult = (
  crLessThan,
  crEqual,
  crGreaterThan
);
C++
enum TVarCompareResult {
  crLessThan,
  crEqual,
  crGreaterThan
};

TVarCompareResult describes the result of the comparison between two System::Variant values. The following table lists the possible values and their meaning.

Value 
Meaning 
crEqual  
A is equivalent to B. Note that two NULL Variants are considered equal and two empty Variants are considered equal, but a NULL System::Variant does not equal an empty System::Variant.  
crLessThan  
A is less than B.  
crGreaterThan  
A is greater than B.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!