RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantAnd Function

Performs an and operation between two Variant values.

Pascal
procedure VariantAnd(const src: Variant; var dst: Variant);
C++
VariantAnd(const Variant src, Variant dst);

VariantAnd performs a bit-wise or a logical and operation between src and dst and returns the result as dst.  

The input values must be convertible to numerical or boolean types; 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!