RosettaCodeData/Task/Conditional-structures/BASIC/conditional-structures-5.basic

13 lines
164 B
Plaintext

SELECT CASE expression
CASE 1
'do stuff
CASE 2, 3
'do other stuff
CASE 3.1 TO 9.9
'do this
CASE IS >= 10
'do that
CASE ELSE
'default case
END SELECT