Jan-25-2019, 05:15 PM
Is it really not possible to switch on multiple conditions?
This doesn't parse. Is there a way to do this, or do I need to write my own switch defs?
Thanks.
1 2 3 4 5 6 |
switch ( id ) { case 1 , 2 , 3 , 4 , 17 , 18 , 19 , 20 : print "first switch" case 5 , 21 , 37 , 53 , 69 , 85 , 101 , 117 : print "second switch" } |
Thanks.