SystemReadln (Delphi)
Description
This example assumes you are compiling as a console application.
Code
program Project1;
{$APPTYPE CONSOLE}
var
s : string;
begin
Write('Enter a line of text: ');
Readln(s);
Writeln('You typed: ',s);
Writeln('Hit <Enter> to exit');
Readln;
end.
Uses
- System.Readln ( fr | de | ja )
- System.Writeln ( fr | de | ja )