Pular para o conteúdo principal

VarArrayHighBound

Returns high bound for a dimension in a Variant array.

Structure

VarArrayHighBound(const A: Variant; Dim: Integer): Integer;

Parameters

Return Value

Description

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 EVariantError exception is raised if the Variant given by A is not an array, or if the dimension specified by Dim does not exist. |