It is a bad idea to iterate over a list, and attempt to modify the list during the iteration.
My advice is to define a deterministic termination condition, and put your logic in a "while" loop.
"If you had better tools, you could more effectively demonstrate your total incompetence."
In reply to Re: Recalling a function iteratively
by NetWallah
in thread Recalling a function iteratively
by dnamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |