System.Writeln

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Writeln(); overload;
procedure Writeln(P1: Boolean); overload;
procedure Writeln(P1: Char); overload;
procedure Writeln(P1: Integer); overload;
procedure Writeln(P1: Cardinal); overload;
procedure Writeln(P1: Int64); overload;
procedure Writeln(P1: UInt64); overload;
procedure Writeln(P1: Extended); overload;
procedure Writeln(P1: string); overload;
procedure Writeln(P1: Variant); overload;
procedure Writeln(var F: File); overload;
procedure Writeln(var F: File; P1: Boolean); overload;
procedure Writeln(var F: File; P1: Char); overload;
procedure Writeln(var F: File; P1: Integer); overload;
procedure Writeln(var F: File; P1: Cardinal); overload;
procedure Writeln(var F: File; P1: Int64); overload;
procedure Writeln(var F: File; P1: UInt64); overload;
procedure Writeln(var F: File; P1: Extended); overload;
procedure Writeln(var F: File; P1: string); overload;
procedure Writeln(var F: File; P1: Variant); 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