System.Internal.VarHlpr.VariantShr

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

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

C++

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
System.Internal.VarHlpr.pas
System.Internal.VarHlpr.hpp
System.Internal.VarHlpr System.Internal.VarHlpr

Beschreibung

Führt eine shr-Operation (Rechtsverschiebung) mit zwei Varianten aus.

VariantShr führt eine bitweise oder logische shr-Operation (Rechtsverschiebung) mit src und dst durch und gibt das Ergebnis als dst zurück.

Die Eingabewerte müssen in numerische Typen konvertierbar sein; ansonsten wird eine EVariantTypeCastError-Exception ausgelöst.

Siehe auch