value.UBound

Description

Returns an upper index of an array stored in the variable.

Syntax

Function UBound

Parameters

none

Return value

the upper index of array

Example

Sample code

Dim array(5), n

UserVar.value = array

n = UserVar.UBound() ' n = 5

See also

Platform Objects and Methods

value.GetAt

value.IsEmpty

Value Object

value.Validate