your problem isn't really clear to me. Perhaps it will be helpful if you show examples of your inputfiles and an example of your expected output.
Be that as it may, your momentary shown code didn't do an infinite loop.
greetings, tos
In reply to Re: To infinity and beyond: Embedding loops
by tos
in thread To infinity and beyond: Embedding loops
by a_mere_kat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |