Re: SWITCH question
- Posted by jessedavis Jan 03, 2018
- 2067 views
petelomax said...
simply (and not really very helpfully) effectively just ignoring the second branch, whereas
switch x do case 17: ?"x is 17" case 17: ?"x is 17 as well" end switch
The compiler will not allow two cases with the save value. All this is very good; but, my original problem with SWITCH was that the value of case constants was being changed during the execution of the method. This leads to real problems.
Regards,
jd