RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantOr Function

Performs an or operation between two Variants.

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

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

Given 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!