Option Base (statement)

Syntax Option Base {0 | 1}
Description Sets the lower bound for array declarations.
Comments By default, the lower bound used for all array declarations is 0. This statement must appear outside of any functions or subroutines.
Example
Option Base 1
Sub Main()
  Dim a(10)          'Contains 10 elements (not 11).
  a(1) = "Hello"
  MsgBox "The first element of the array is: " & a(1)
End Sub
See Also Dim (statement); Public (statement); Private (statement).