Get Array Upper Boundary Method

The Get Array Upper Boundary method returns the upper boundary an array. You can use the Get Array Lower Boundary method with the Get Array Upper Boundary method to determine the length of an array.

The minimum value for the lower boundary of an array is 0. The maximum value for the upper boundary of an array is 65,536.

Format

UBound(arrayName[,dimension])

The following table describes the arguments that you can use with this method.

Argument Description

arrayName

The name of the array to query.

dimension

The array dimension whose upper boundary this method returns. If you do not include this argument, then Siebel VB uses 1 as the default value.

Example

For an example, see Get Array Lower Boundary Method.