RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarArrayLowBound Function

Returns the low bound of a dimension in a variant array.

Pascal
function VarArrayLowBound(const A: Variant; Dim: Integer): Integer;
C++
int VarArrayLowBound(const Variant A, int Dim);

Variants

VarArrayLowBound returns the low bound of the given dimension in the given variant array. The Dim parameter should be 1 for the leftmost dimension, 2 for the second leftmost dimension, and so on. An exception is raised if the variant given by A is not an array (EVariantInvalidArgError), or if the dimension specified by Dim does not exist (EVariantBadIndexError).. 

 

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