case range for switch statements?
-
I've noticed it doesn't work in HISE:
case 60 ... 95:
Do we have an alternative?
-
Have to use
if else
in this situation -
@d-healey Yeh just tried it, works. Is that fine for performance in an onNote() call?
-
@iamlamprey Yeah. And if it's a deferred script then even better :)
-
@d-healey Sweet :) cheers!
-
@iamlamprey you should be able do use a switch this way:
case (x >= 5 && x < 9):