System.Internal.VarHlpr.VariantAnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Performs an and operation between two Variant values.

VariantAnd performs a bit-wise or a logical and operation between src and dst and returns the result as dst.

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

See Also