unit SystemEoln;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

{$APPTYPE CONSOLE}

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

// BeginExample: SystemEoln
// Routine: System.Eoln

// BeginCode
{
This example waits for keyboard input before continuing.
}
procedure TForm1.Button1Click(Sender: TObject);
begin
   WriteLn('Type something on the console and hit return');
   Eoln;
   WriteLn('Write this after you type something');
   Readln;
end;
// EndCode
// EndExample: SystemEoln
end.
