Name
UBound Function — Microsoft.VisualBasic.Information
Synopsis
UBound(array
[, rank
])
array
required; AnyThe name of the array
rank
optional; IntegerA number specifying the dimension of the array; if omitted, its value
defaults to 1
Return Value
Integer; returns -1 if the array is uninitialized
Description
Indicates the upper limit of a specified coordinate of an array. The
upper boundary is the largest subscript you can use with that
coordinate.