file writing without overwriting
Posted on 2002-04-23
How can i insert text from multiple files in one file? The file where i would want to write to doesnt have an extension.
My problem is that I want to insert data in a file that already contains data. when i do something like this:
// source file
assignfile(sourcefile,'C:\Documents and Settings\Administrator\Desktop\source');
// destination file
pointer := eof(destination);
while not eof(source') do
ReadLn( source', line);
when i run this multiple times, it overwrites data in the destination file. that sux.