RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::ArrayHighBound Method

Returns the high bound of the given dimension in the given variant array.

Pascal
function ArrayHighBound(const dim: Integer = 1): Integer;
C++
__fastcall int ArrayHighBound(const int dim = 1) const;

The dim parameter should be 1 for the leftmost dimension, 2 for the second leftmost dimension, and so on. An ESystem::Variant::VariantError exception is raised if the variant given by A is not an array, or if the dimension specified by dim does not exist. 

 

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