Returns the size (the upper bound) of the array.
UBound( array )
Numeric value
Dim array(10) as number ubound(Array) // Result: 10