On Wed, 22 Sep 2010, phoebus phoebus wrote:
Hi,
I'm not understand how to use unit Teventlog to no create each time a new
file but to append to an existing log file.
I want to do something like:
assign(f,filename);
if FileExists(filename) then Append(f)
else Rewrite(f);
Writeln(f,FormatDateTime('dd/mm/yyyy hh:nn:ss ',Now),msg);
CloseFile(f);
This is currently not possible.
Please file a feature request in the bugtracker.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal