If its a list then splicing it in upsets the indexing of the loop iterator.
Any ideas on how this can be elegantly solved?
In reply to Inserting into an array while stepping through it by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |