pascalabcnet/TestSamples/CompilationSamples/Timer3.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

15 lines
188 B
ObjectPascal

Uses Timers;
var t: Timer;
procedure OnTimer;
begin
Writeln('!');
t.Interval := t.Interval * 2;
end;
begin
t:=Timer.Create(10, OnTimer);
t.Start;
while true do sleep(1000);
end.