Re: New switch/case idea
- Posted by jimcbrown (admin) Apr 06, 2009
- 1674 views
irv said...
OK, one more question. Without specifying "with fallthru" - i.e: using the defaults - then only the matching case will be executed, with or without a break being in there, is this correct? break can be left out?
This is 100% correct. break can be left out, only one matching case will be executed.