var m : integer; procedure TForm1.Button3Click(Sender: TObject); begin inc(m); Label4.Caption := IntToStr(m); end;