Re: break bug
- Posted by jimcbrown (admin) Nov 09, 2012
- 1302 views
bryanso said...
jimcbrown said...
The reason we came up with a new keyword for switch, instead of simply reusing exit, is to allow the user to embed a switch statement inside of a loop but then use the exit keyword inside of the switch to break out of the loop.
But only if you use "with fallthru" keywords!
No, using the exit keyword in this way works either way, with or without fallthru.