Re: Python has Traps; Does Euphoria have Programming Traps?

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

Another loop struct:

while entry do 

I would expect 'continue' to go to the entry statement because continue is for going to the next iteration. There is no good way to do this unfortunately. You need to put a label and goto for that. 'continue' goes up to the top of while which is what you would expect from redo which you cannot use.

Really? I wouldn't expect continue to go back to entry. I would expect it to continue at the top of the loop.

To me, "with entry" implies an exception at the first iteration of the loop only, and then normal top down iterations from there.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu