BuiltIn.VarArrayLowBound Method

Applies to TestComplete 12.60, last modified on September 17, 2018

Description

The VarArrayLowBound method returns the low bound for a particular dimension in the Arr array, which must be created with the CreateVariantArray, CreateVariantArray2 or CreateVariantArray3 function. Use the VarArrayLowBound and VarArrayHighBound functions to iterate through the elements of an array when the number of elements is unknown.

Declaration

BuiltIn.VarArrayLowBound(ArrDim)

Arr [in]    Required    Variant    
Dim [in]    Required    Integer    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Arr

The desired array whose elements are of the Variant type.

Dim

The index of the array's dimension whose low bound you want to get. The leftmost dimension has index 1, the second dimension index is 2, etc.

Result Value

An integer value that means the low bound of the desired dimension of the specified array.

See Also

BuiltIn.CreateVariantArray Method
BuiltIn.CreateVariantArray2 Method
BuiltIn.CreateVariantArray3 Method
BuiltIn.VarArrayRedim Method
BuiltIn.VarArrayHighBound Method

Highlight search results