value.UBound
Description
Description
Returns an upper index of an array stored in the variable.
Syntax
Syntax
Function UBound
Parameters
Parameters
none
Return value
Return value
the upper index of array
Example
Sample code
Dim array(5), n
UserVar.value = array
n = UserVar.UBound() ' n = 5
See also