Re: New switch/case idea
- Posted by mattlewis (admin) Apr 06, 2009
- 1852 views
Fernando said...
Does that mean that break without label inside an if-then statement is useless ?
Yes, I suppose it doesn't make much sense. We could ignore the first if block for a naked break, but that might lead to more confusion than it's worth, due to the changing nature of break.
Matt