RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantAdd Function

Adds two Variants.

Pascal
procedure VariantAdd(const src: Variant; var dst: Variant);
C++
VariantAdd(const Variant src, Variant dst);

VariantAdd adds src to dst and returns the result as dst.  

The input values must have compatible types; otherwise an EVariantTypeCastError exception will be raised. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!