Maybe a bummer as you say, but makes perfect sense when you consider a processor can't reason as you do and has no concept of how language is interpreted. 10 out of 10 people would likely understand what that means because of the way we communicate but a computer is 100% literal. Thus each portion of that logic must be able to stand on its own. Your syntax then becomes
If SM = 6 <- anyone can interpret that line, but what if I just said to you
Or 8
Or 13
Or 14
You'd look at me like I was on drugs, yet that's what you're saying to a pc. I point out the reason so that you can carry this thinking forward to every situation in the future so that you are just as literal.
BTW another form for a bunch of ORs is a Select Case block:
Code:
Select Case SM
Case 8
do this
Case 10
do this
Case 12
do this
Case Else
do that
End Select
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.