RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantShr2 Function

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

Pascal
function VariantShr2(const V1: Variant; const V2: Variant): Variant;
C++
Variant VariantShr2(const Variant V1, const Variant V2);

VariantShr2 performs a bit-wise shr (shift right) operation between V1 and V2 and returns a new Variant holding the result.  

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!