Append Procedure

Applies to TestComplete 14.61, last modified on April 22, 2021

The Append procedure opens an existing file and prepares it for adding text at the end of the file.

Declaration

Append(FileVar) Parameters
FileVar [in] Required Variant
Result     None  

Description

Opens an existing file in write-mode. The file pointer is set at the end of the file. If the file is already open, it is closed and a new one is opened. The file is specified by the FileVar variable, which must be associated with the file by calling the AssignFile procedure.

Parameters

The procedure has the following parameter:

FileVar

Specifies the file variable, which is associated with the desired file by calling the AssignFile procedure.

See Also

DelphiScript - List of Supported Routines and Variables
AssignFile
CloseFile
Reset
Rewrite

Highlight search results