RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Types.TValueRelationship Type

TValueRelationship defines value comparison possibilities.

Pascal
TValueRelationship = -1..1;
C++
-1..1 TValueRelationship;

Types

Routines such as the CompareValue routine compare two values for equality. They return the result in a TValueRelationship value as follows :

Value 
Associated constant 
Meaning 
-1  
The first value is less than the second value.  
0  
The two values are equal.  
+1  
The first value is greater than the second value.  

 

LessThanValue 

EqualsValue 

GreaterThanValue 

TValueRelationship

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!