System.Internal.VarHlpr.VariantShr

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure VariantShr(const src: Variant; var dst: Variant);

C++

extern DELPHI_PACKAGE void __fastcall VariantShr(const System::Variant &src, System::Variant &dst);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Internal.VarHlpr.pas
System.Internal.VarHlpr.hpp
System.Internal.VarHlpr System.Internal.VarHlpr

Description

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

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.

See Also