Since I do not completely understand - let me offer some possible alternatives:
To help you more than that - you need to explain more clearly what you are trying to do by giving a sample file and showing what you want to do at each point in the file.
Hope this helps - cheers - L~R
Update: While I was working on posting this, rir had already come up with the idea of temporarily storing the previous line
In reply to Re: point to previous line
by Limbic~Region
in thread point to previous line
by hari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |