TVarCompareResult¶
Compare 2 variant values.
Declaration¶
Source position: variants.pp line 167
type
TVarCompareResult = (crLessThan,crEqual,crGreaterThan)Values¶
| Value | Description |
|---|---|
| crLessThan | The first value is less than the second value. |
| crEqual | Both values are equal. |
| crGreaterThan | The first value is greater than the second value. |
Description¶
TVarCompareResult is used when comparing 2 custom variant values in TCustomVariantType.Compare. The following values exist:
- crLessThan
- The first value is less than the second value.
- crGreaterThan
- The first value is greater than the second value.
- crEqual
- Both values are equal.
See also¶
| Name | Description |
|---|---|
| TCustomVariantType.Compare | Comparison 2 custom variant values. |