System.Internal.VarHlpr.VariantAnd2

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

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

Properties

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

Description

Performs an and operation between two Variants.

VariantAnd2 performs a bit-wise or a logical and operation between V1 and V2 and returns a new Variant holding the result.

The input values must be convertible to numerical or boolean types; otherwise an EVariantTypeCastError exception will be raised.

See Also