RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantShr Function

Performs an shr (shift right) operation between two Variants.

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

VariantShr performs a bit-wise shr (shift right) operation between src and dst and returns the result as dst.  

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