JimOfSacRam
New member
- Joined
- Jun 15, 2011
- Messages
- 2
- Programming Experience
- 1-3
VB.NET:
Select Case currentNodeName
Case "string1","string2","string3","stringEtc"
Case Else
For h = 0 To splitString.Length-1
If splitString(h) = nothing
Next For
End If
'other code
Next
End Select
The above is a code snippet... of course I've already made my declarations earlier in the code. My issue is I get the error " 'Select Case' must end with a matching 'End Select'." It looks to me like VB is not liking my If statement with the "Next For" in the middle. I'm sure this is a basic syntax issue. But I'm still new to VB.net. Any help here??