This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2024-03-10 20:32:51 +03:00

21 lines
244 B
ObjectPascal

Uses Timers;
var t1, t2: Timer;
procedure OnTimer1;
begin
Write('!');
end;
procedure OnTimer2;
begin
Write('?');
end;
begin
t1 := new Timer(200, OnTimer1);
t2 := new Timer(300, OnTimer2);
t1.Start;
t2.Start;
Sleep(10000);
end.