- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
procedure TForm1.Timer1Timer(Sender: TObject);//интервал 1 минута
var
f: file of byte;
c: byte;
begin
assignfile(f, 'c:\0.dsk');
if fileexists('c:\0.dsk') then reset(f) else rewrite(f);// :)
c := 0;
write(f, c);
closefile(f);
end;