SDK/Examples/Console/Echo/Echo.dpr

17 lines
185 B
ObjectPascal

program Echo;
uses
CRT;
var
S: ShortString;
begin
InitConsole('Echo');
repeat
Write('> ');
ReadLn(S);
if Length(S) <> 0 then
WriteLn(S);
until False;
end.