Select Syntext

BlitzPlus Forums/BlitzPlus Beginners Area/Select Syntext

Ok;

Select x
Case 10 Or 9 ; <------------
Print "Hello world"
End Select

Why wont this work with the Or statement how do I make it work or is it not possible?

Ah got it

Select x
Case 10, 9
Print "Hello world"
End Select

just had to use a comma

Cool, didn't know that multiple choices could work in a Select...Case loop - <=|

me neither. i thought you would have to use "select true" with "case x = 9 or x = 10:"

something new every day.