Registriert seit: 9. Jul 2007
102 Beiträge
Delphi 2005 Personal
|
Re: Combobox Problem
13. Jul 2007, 10:52
Delphi-Quellcode:
procedure TForm3.Button9Click(Sender: TObject);
var stufe,Fl,Rf,Nf,Stufe2 : Integer;
begin
stufe := StrToInt (Edit31.Text);
stufe2 := Stufe-1;
Rf := StrToInt (Edit32.Text);
Nf:= StrToInt (Edit33.Text);
Fl := StrToInt (Edit34.Text);
if ComboBox1.ItemIndex = 0 then
begin
Label57.Caption := 200*power(2,Stufe2);
Label58.Caption := 1000*power(2,Stufe2);
Label59.caption := 200*power(2,Stufe2);
Label64.Caption := ((200+1000)div(1000*(1+FL)))*60;
end;
end;
Label57.Caption := 200*power(2,Stufe2);
[Fehler] ogame1.pas(458): E2010 Inkompatible Typen: 'string' und 'Double'
|
|
Zitat
|