Show: Delphi C++
Display Preferences

System.Writeln

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Writeln([var F: File]; [ P1; [ ..., PN] ]); overload;
procedure Writeln([var F: File]; [ P1; [ ..., PN] ]); overload;
procedure Writeln([var F: File]; [ P1; [ ..., PN] ]); overload;

Properties

Type Visibility Source Unit Parent
procedure public System.pas System System

Description

Writes to a text file and adds an end-of-line marker.

Writeln is an extension of the Write procedure, as it is defined for text files.

The syntax shown here for the Writeln procedure is illustrates that WriteLn can take a variable number of arguments.

After executing Write, Writeln writes an end-of-line marker (line feed or carriage return/line feed) to the file.

If F is omitted, the global variable Output is used to access the processed standard input file. Use of Output in GUI applications raises special issues.

See Also

Code Examples


Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance