System.Variants.VarArrayHighBound
Delphi
function VarArrayHighBound(const A: Variant; Dim: Integer): Integer;
C++
extern DELPHI_PACKAGE int __fastcall VarArrayHighBound(const System::Variant &A, int Dim);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Returns high bound for a dimension in a variant array.
VarArrayHighBound returns the high 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).
See Also