Re: New switch/case idea
- Posted by irv Apr 06, 2009
- 1662 views
I am failing to detect the logic in this discussion.
switch x -- x = 1, let's say case 1 : print "one" case 2 : print "two"
Why on earth would anyone EVER expect this to print "onetwo", when x = 1?
Can anyone show me a justification for this? Or any example where some other construct wouldn't do the same thing in a clearer way? Or have I simply misread some posts and don't understand?