Re: break bug

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu