RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
VarHlpr.VariantSub Function

Subtracts two Variants.

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

VariantSub subtracts src from 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!