The WriteLn
procedure writes the specified text to the desired file and adds a line break at the end of the string.
Declaration
WriteLn(FileVar, Var)
Parameters
FileVar | [in] | Required | Variant | |
Var | [in] | Required | String | |
Result | None |
Description
Writes text to the file associated with the file variable and adds an end-of-line marker. See also Write
.
Parameters
The procedure has the following parameters:
FileVar
Specifies the file variable, which is associated with the desired file by calling the AssignFile
procedure.
Var
Specifies the variable, which holds the text to be added to the specified file.
See Also
DelphiScript - List of Supported Routines and Variables
AssignFile
Read
ReadLn
Write