Re: Python has Traps; Does Euphoria have Programming Traps?
- Posted by SDPringle Aug 13, 2013
- 2333 views
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.