System.Internal.VarHlpr.VariantShl

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

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

Propriétés

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

Description

Effectue une opération shl (décalage gauche) entre deux Variants.

VariantShl effectue une opération shl (décalage gauche) bit à bit entre src et dst et renvoie le résultat dans dst.

Les valeurs d'entrée doivent être convertibles en types numériques. Sinon, une exception EVariantTypeCastError sera déclenchée.

Voir aussi