RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarSameValue Function

Indicates whether two Variants have equivalent values.

Pascal
function VarSameValue(const A: Variant; const B: Variant): Boolean;
C++
Boolean VarSameValue(const Variant A, const Variant B);

VarSameValue returns true when A has the same value as B, false if the two values are not equivalent.  

If A and B can't be compared, VarSameValue raises an exception. 

 

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