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

of course, silly....cheers but why should it work ok for 90% data then stop is the question, is it because of the buffer?
  • Comment on Re^10: inserting array of data into text file

Replies are listed 'Best First'.
Re^11: inserting array of data into text file
by ysth (Canon) on Jul 13, 2004 at 21:28 UTC
    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.