System.TVarOp
Delphi
type TVarOp = Integer;
C++
typedef int TVarOp;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
type typedef |
public | System.pas System.hpp |
System | System |
Description
TVarOp defines a Variant operation.
TVarOp is used to define a Variant operation. The three operation categories are described in the following table.
| 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 |
|
opCmpEQ |
Compare for equality. |
|
opCmpGE |
Compare left greater than or equal to right. |
|
opCmpGT |
Compare left greater than right. |
|
opCmpLE |
Compare left less than or equal to right. |
|
opCmpLT |
Compare left less than right. |
|
opCmpNE |
Compare for inequality. |
|
opCompare |
Generalised comparison. |
|
opDivide |
Division of left by right. |
|
opIntDivide |
Integer division of left by right. |
|
opModulus |
Remainder of left divide by right. |
|
opMultiply |
Left multiplied by right. |
|
opNegate |
Negation of a single operand value. |
|
opNot |
Bitwise negation of a single operand. |
|
opOr |
Bitwise or. |
|
opShiftLeft |
Bitwise shift left. |
|
opShiftRight |
Bitwise shift right. |
|
opSubtract |
Right subtracted from left. |
|
opXor |
Bitwise exclusive or. |