Instead of deleting the unwanted ones, you could push the wanted ones onto a new list. Or try to rewrite your conditions into a grep statement.
In reply to Re^3: Nested Foreach Loop skipping every other element??
by hdb
in thread Nested Foreach Loop skipping every other element??
by ba1688
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |