Option Base Statement

Defines the default lower boundary for arrays as 0 or 1.

කාරක රීතිය:

Option Base { 0 | 1}

පරාමිතීන්:

Warning Icon

මෙම ප්‍රකාශනය ඒකකයක ක්‍රියාත්මක කල හැකි වැඩසටහන් කේතයට පෙර එක් කල යුතුයි.


උදාහරණය:

Option Base 1

Sub ExampleOptionBase

   Dim sVar(20) As String

   MsgBox LBound(sVar())

End Sub