Belongs to : Procedure


The Append procedure opens a file given by FileHandle to allow subsequent writes to append to the end of the file.

You must use AssignFile to assign a file to the FileHandle before using Append.

This is often used when logging information – existing log data must be preserved, with the new log information appended to the end.

Use Write or WriteLn to write to the file after this Append is executed.

Example code