Code:
Sub Main()
Dim classCode As Integer
Dim otherValue as double
classCode = 50
Select Case classCode
Case ((classCode >= 60) And (classCode <= 66))
otherValue = 0.225
Case ((classCode >= 50) And (classCode <= 59))
otherValue = 0.09
Case ((classCode < 50) Or (classCode > 66))
otherValue = 0.12
End Select
End Sub
Stepping through the code and hovering over the comparisons, I can see that it correctly evaluated the second Case to be true, yet it does not run the line underneath it. What is going on here?