Witam
czy ktos moglby mipowiedziec, co jest nie tak z tym kodem? nie chce mi sie skomplilowac... ;( :[[ :(
procedure FormCreate(Sender: TObject);
var
nc:integer;
c:integer;
mc:integer;
begin;
nc:=0;
mc:=0;
c:=0;
repeat
begin
Form1.Zegar.Text:=inttostr(nc) + 'Nc ' + inttostr(c) + 'C ' + inttostr(mc) + 'Mc';
sleep(100);
nc:=nc+1;
if nc=50 then
begin
nc:=0;
c:=c+1;
end;
if c=70 then
begin
c:=0;
mc:=mc+1;
end;
if mc=24 and if c=40 then
begin
nc:=0;
c:=0;
mc:=0;
end
until form1.stop.down=true;
end;
PS
Mam delphi 5 --Pozdrawiam {hello}
Delphi, Pascal