![]() |
Programm oder die Unit 'math' ruft sich selbst wieder auf ?
Hallo
beim Kompilieren erhalte ich diese Fehlermeldung : Programm oder die Unit 'math' ruft sich selbst wieder auf Ich habe in uses Math hingeschrieben trotzdem läuft immer das selbe Problem
Delphi-Quellcode:
procedure TForm1.Button3Click(Sender: TObject);
begin //sqrt(sqr(x)+sqr(y)) Caption:=FloattoStr(sqrt(sqr(StrToInt(Edit1.Text))+sqr(StrToInt(Edit2.Text)))); end; |
Re: Programm oder die Unit 'math' ruft sich selbst wieder au
Und wie heißt Deine eigene Unit?
|
Re: Programm oder die Unit 'math' ruft sich selbst wieder au
meine Unit heisst Unit1
aber das Project heisst math.dpr |
Re: Programm oder die Unit 'math' ruft sich selbst wieder au
Dann hat Delphi ja wohl auch irgendwie Recht, findest Du nicht? :zwinker: Benenn das Projekt einfach um und gut is.
|
Re: Programm oder die Unit 'math' ruft sich selbst wieder au
Stimmt : )
Ich habe habe hier den Namen geändert:
Delphi-Quellcode:
program math1; // vorher war math
uses Forms, Unit1 in 'Unit1.pas' {Form1}; {$R *.res} begin Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run; end. Danke |
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:59 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz