On Wednesday, November 5, 2003, at 01:47 PM, [EMAIL PROTECTED] wrote:

I have some large files that all have data for filling one table.   I'm
concerned about memory resources.

1. I want to read from each of these files one line at a time at the same
time without assigning the file to an array.
I haven't done this one yet, Does anyone have any example code? I want to
pass the lines in an array to a subroutine which does # 2.

There's no real logic problem here, that I can see. You should go about it just the way you said. Open both files. Read a line from the first file and a line from the second, sticking them in separate variables, of course. Then make your subroutine call...


I can post some code, if you need me to, but that's pretty straight forward stuff. Want to give it a go first and yell if you get stuck? I think you'll surprise yourself.

James

2. Then combine the lines, plugging in elements according to index if that
index hasn't been filled. This one is pretty easy to figure out.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to