Forum: Sonstige Fragen zu Delphi
Delphi
by markus5766h,
20. Dez 2009
... Berechnungsfehler
>>>>>>>>>>>> i := 1 :
zahl >>> gibt's im array doch gar nicht,
wäre zahl := array of Integer !!! :idea:
Forum: Sonstige Fragen zu Delphi
Delphi
by markus5766h,
20. Dez 2009
Hallo,
...
und eigentlich müsstest Du hier noch eine Fehlermeldung bekommen :
begin
Try zahl:=StrToInt(Edit1.Text) Except exit end;
Try zahl:=StrToInt(Edit2.Text) Except exit end;
Try anz:=StrToInt(Edit3.Text) Except exit end;
SetLength(zahl,anz);
...
Forum: Sonstige Fragen zu Delphi
Delphi
by markus5766h,
20. Dez 2009
Hallo,
ein paar kleine Tipps :
1) statt
then exit
benutze
then
begin
ShowMessage('... dein hier möglicherweise auftretender Fehler');