Jan-25-2019, 05:15 PM
Is it really not possible to switch on multiple conditions?
Thanks.
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"
}This doesn't parse. Is there a way to do this, or do I need to write my own switch defs?Thanks.
