System.Internal.VarHlpr.VariantOr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE void __fastcall VariantOr(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 or operation between two Variants.

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

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

See Also