Kinda reminds me of an IRS "magnetic tape" file...
You're probably better off going with a process-as-you go model. I just usually go out of my way to avoid temp-files if I can. And I really like to go through a source file only once when possible.
When I suggested tell/seek, I was thinking you needed to see the end to find the start, but that probably ins't the case here so process-as-you-go is probably what you want.
-Paul
In reply to Re^3: Ugly variable-length record handling
by jettero
in thread Ugly variable-length record handling
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |