in reply to Re^8: inserting array of data into text file
in thread inserting array of data into text file

Close OUT before opening COL.

What exactly is the problem you are seeing?

  • Comment on Re^9: inserting array of data into text file

Replies are listed 'Best First'.
Re^10: inserting array of data into text file
by Anonymous Monk on Jul 13, 2004 at 21:10 UTC
    of course, silly....cheers but why should it work ok for 90% data then stop is the question, is it because of the buffer?
      Yes. Whatever is left in the buffer isn't actually written out to the file yet. You don't actually need two opens of the file; you could open it for read/write, write to it, seek back to the beginning, and read from it.