Option Base Statement

ऐरे के लिए डिफ़ॉल्ट लोअर बाउंड्री 0 या 1 निर्धारित करता है.

Syntax:

Option Base { 0 | 1}

पैरामीटर

Warning Icon

This statement must be added before the executable program code in a module.


उदाहरण:

Option Base 1

Sub ExampleOptionBase

   Dim sVar(20) As String

   MsgBox LBound(sVar())

End Sub