Hello everyone
I am having a problem with this small piece of code in vb-
Case "1"
ch1(ch1i) = stemperature
If ch1i = 100 Then
ch1i = 0
Else: ch1i = ch1i + 1
End If
however I am getting an error saying "Complie error:Else without If"
I completely fail to see what is this supposed to mean.Why does it say "Else without if" when the If is right there?
Thanks.
I am having a problem with this small piece of code in vb-
Case "1"
ch1(ch1i) = stemperature
If ch1i = 100 Then
ch1i = 0
Else: ch1i = ch1i + 1
End If
however I am getting an error saying "Complie error:Else without If"
I completely fail to see what is this supposed to mean.Why does it say "Else without if" when the If is right there?
Thanks.