System.Variants.TVarCompareResult
Delphi
TVarCompareResult = (crLessThan, crEqual, crGreaterThan);
C++
enum DECLSPEC_DENUM TVarCompareResult : unsigned char { crLessThan, crEqual, crGreaterThan };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
TVarCompareResult describes the results of comparing two Variants.
TVarCompareResult describes the result of the comparison between two 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 Variant does not equal an empty Variant. |
|
crLessThan |
A is less than B. |
|
crGreaterThan |
A is greater than B. |