소스 검색

* new interactive test for Ctrl-C

pierre 23 년 전
부모
커밋
b7eaf118e8
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      tests/test/units/crt/tctrlc.pp

+ 16 - 0
tests/test/units/crt/tctrlc.pp

@@ -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.