VarHlpr.VariantAnd2

From RAD Studio VCL Documentation (German)
Jump to: navigation, search

Contents

Delphi-Informationen

von VarHlpr.pas

	function VariantAnd2(const V1: Variant; const V2: Variant): Variant;


Unit: VarHlpr

Typ: Funktion

Sichtbarkeit: public

C++-Informationen

von VarHlpr.hpp

	System::Variant __fastcall VariantAnd2(const System::Variant & V1, const System::Variant & V2);


Unit: VarHlpr

Typ: Funktion

Beschreibung

Führt eine UND-Operation mit zwei Varianten aus.


VariantAnd2 führt eine bitweise oder logische UND-Operation mit V1 und V2 durch und gibt eine neue Variante zurück, die das Ergebnis enthält.

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

Siehe auch

Personal tools