Just a small request for the wishlist. It would be nice to be able to use Select Case using the 'greater than' and 'less than' operators <>. It makes for cleaner code than 'if' 'else' and 'end if' etc.
I'll see if it also works for other values. I assume that it will execute the first case that is true and then exit.
B4X:
i = 7
Select True
Case (i < 5)
Log("<5")
Case (i < 8)
Log("5 <8") 'this should be executed
Case (i < 10)
Log("8<10")
Case (i = 10)
Log("=10")
End Select
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.