RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantNot Function

Performs a not operation on a Variant.

Pascal
function VariantNot(const V1: Variant): Variant;
C++
Variant VariantNot(const Variant V1);

VariantNot performs a bit-wise or a logical not operation on V1 and returns a new Variant holding the result.  

The input value must be convertible to a numerical or boolean type; otherwise an EVariantTypeCastError exception will be raised. 

 

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