fpc/tests/test/units/crt/tctrlc.pp
2002-10-31 16:17:03 +00:00

17 lines
181 B
ObjectPascal

{ %INTERACTIVE }
program test_crt;
uses
crt;
var
ch : char;
begin
Write('Press Ctrl-C to test :');
Read(ch);
if ch=#3 then
Writeln('It works correctly');
end.