ここにこのコードがあります:
Dim MasterIndex As String()()
Private Function Lookup(ByVal Search_path As String) As Integer
Dim i As Integer = 0
Do Until MasterIndex(i)(0) Is Nothing
If Search_path = MasterIndex(i)(0) Then
Return MasterIndex(i)(1)
End If
Loop
Return -1
End Function
Object reference not set to an instance of an object
これにより、回線でエラーが発生しDo Until
ます。どうしてこれなの?どうすればこれを修正できますか?