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

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

I would say it as the limit in a for loop is calculated once and then that value is used for the duration of the loop. Conceptually the limit is the length which is not constant during the loop in this case.

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.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu