This would also work. The Select will stop at the first statement that evaluates to True. I use this method a lot to prioritize events.
B4X:
Select True
Case X<10
'Do something
Case X<20
'Do something else
Case Else
'Do something completely different
End Select
You can also mix types as long as they evaluate to True or False
B4X:
Select True
Case X<10
'Do something
Case strAnswer="Yes"
'Do something
Case X<20
'Do something else
Case Else
'Do something completely different
End Select