System.Internal.VarHlpr.VariantAnd

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

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

C++

extern DELPHI_PACKAGE void __fastcall VariantAnd(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 UND-Operation mit zwei Variant-Werten aus.

VariantAnd führt eine bitweise oder logische UND-Operation mit src und dst durch und gibt das Ergebnis als dst zurück.

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

Siehe auch