files
SDK/Examples/Console/Echo/Echo.dpr
2020-06-21 19:34:51 +03:00

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.