System.Internal.VarHlpr.VariantXor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE void __fastcall VariantXor(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 a xor (exclusive or) operation between two Variants.

VariantXor performs a bit-wise xor (exclusive or) operation between src and dst and returns the result as dst.

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

See Also