Get switch to behave like it does in C++ in Developer Help
|
|
I have a situation where i need the switch statement to act like it does in C++ or java or most other languages.
This is what I want my switch to look like, but in dm. Is there any shorthand way?
var/value switch(card_value) case 0: value+=1 break case 1: case 2: value+=2 break case 3: case 4: case 5: case 6: value+=3 break
|
|
As for case x:, No.