RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.TVarOp Type

TVarOp defines a Variant operation.

Pascal
TVarOp = Integer;
C++
int TVarOp;

System

TVarOp is used to define an Variant operation. There are three operation categories :

Type 
Meaning 
Two operand processing  
A logical operation of left and right operands. Such as BinaryOp.  
Two operand comparison  
A comparison of left and right operands. Such as CompareOp.  
One operand processing  
Processing of a single operand. Such as UnaryOp.  

TVarOp may hold one of the following values :

Value 
Meaning 
opAdd  
Addition.  
opAnd  
Bitwise and.  
Compare for equality.  
Compare left greater than or equal to right.  
Compare left greater than right.  
Compare left less than or equal to right.  
Compare left less than right.  
Compare for inequality.  
Generalised comparison.  
Division of left by right.  
Integer division of left by right.  
Remainder of left divide by right.  
Left multiplied by right.  
Negation of a single operand value.  
opNot  
Bitwise negation of a single operand.  
opOr  
Bitwise or.  
Bitwise shift left.  
Bitwise shift right.  
Right subtracted from left.  
opXor  
Bitwise exclusive or.  

 

BinaryOp 

CompareOp 

UnaryOp

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