Write Procedure

Applies to TestComplete 15.0, last modified on October 19, 2021

The Write procedure writes the specified text to the desired file.

Declaration

Write(FileVarVar) Parameters
FileVar [in] Required Variant
Var [in] Required String
Result     None  

Description

Writes text that holds the specified variable to the file associated with the file variable. If the procedure is called more than once, the variables are written one by one. See also WriteLn.

Note: The specified file must be open for output.

Parameters

The procedure has the following parameters:

FileVar

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

Var

Specifies the variable that holds the text to be added to the specified file.

See Also

DelphiScript - List of Supported Routines and Variables
Read
ReadLn
WriteLn

Highlight search results