History  | 
LBound (math) 
Purpose 
Returns an integer indicating the lower bound of an array. 
If the variable is not an array, an error occurs. 
Syntax 
LBound (Array) 
Example 
Sub Main() 
        Dim i As Integer 
        Dim arr(10) As Integer 
        If IsArray(arr) Then 
                For i = LBound(arr) To UBound(arr) 
                        arr(i) = i 
                Next i 
        End If 
End Sub 
 | ||