RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarUtils.VarXor Variable

VarXor is a function type variable that specifies the function making the bitwise xor (exclusive or) operation between two variants.

Pascal
VarXor: function(const Left, Right: TVarData; var AResult: TVarData): HRESULT;
C++
function(const Left, Right: TVarData; var AResult: TVarData): HRESULT VarXor;

Use VarXor to specify the function that makes the bitswise xor (exclusive or) operation between two variants given through the Left and Right parameters. The result is stored in the AResult parameter.  

The function specified through VarNot returns a value of type HRESULT. For a list of possible return values, see the VAR_ constants in the VarUtils unit. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!