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);

Variants

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. 

 

VarCompareValue 

SameValue

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!