Syntax |
LBound(ArrayVariable() [,dimension]) |
Description |
Returns an Integer containing the lower bound of the specified dimension of the specified array variable. |
Comments |
The dimension parameter is an integer specifying the desired dimension. If this parameter is not specified, then the lower bound of the first dimension is returned. The LBound function can be used to find the lower bound of a dimension of an array returned by an OLE automation method or property: LBound(object.property [,dimension]) LBound(object.method [,dimension]) |
Examples |
Sub Main() Dim a(5 To 12) lba = LBound(a) |
|
'This example uses LBound and
UBound to dimension a dynamic array to Dim fl$() |
See Also |
L |