* new interactive test for Ctrl-C

This commit is contained in:
pierre 2002-10-31 16:17:03 +00:00
parent f22c4d2a62
commit b7eaf118e8

View File

@ -0,0 +1,16 @@
{ %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.