RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarIsOrdinal Function

Indicates whether the specified variant represents an ordinal value.

Pascal
function VarIsOrdinal(const V: Variant): Boolean;
C++
Boolean VarIsOrdinal(const Variant V);

Variants

VarIsOrdinal returns true if the given variant represents an ordinal value (such as an integer or boolean type). If the variant contains any other type of value, the function result is false. 

 

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