procedure AppendStringToFile(Str, FileName: string);

 

This function appends a string to an existing (text) file. It doesn't append a CRLF at the end of the string, so if you want to "hit return" after the string you also have to add #10#13.

 

Parameters

Str

The string to be added to the file

FileName

The text file to which the string will be added