Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Also, so was hab ich noch nie gesehn? (https://www.delphipraxis.net/3047-also-so-hab-ich-noch-nie-gesehn.html)

NeoDeluxe 19. Feb 2003 17:22


Also, so was hab ich noch nie gesehn?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

program Project1;

uses
Forms,
Unit1 in 'Unit1.pas' {frmMain},
Unit2 in 'Unit2.pas' {frmOption},

{$R *.res}
{$R resource.res}

begin
Application.Initialize;
Application.CreateForm(TfrmOption, frmOption);
Application.CreateForm(TfrmMain, frmMain);
Application.Run;
end.
bei dem Quelltext zeigt er Zahlreiche Fehler die heirhimüber haupt nicht passen können!
Könnt Ihr in Attachment sehn. Also das ist wohl ein Witz.
Was könnte das sein?

Chewie 19. Feb 2003 17:24

Du hast keinen Strichpunkt am Ende deiner uses-Klausel :wink:

Daniel 19. Feb 2003 17:25

Hallo,

in Deinem Code fehlt mindestens ein Semikolon nach der Uses-Klausel:
Delphi-Quellcode:
program Project1;

uses
Forms,
Unit1 in 'Unit1.pas' {frmMain},
Unit2 in 'Unit2.pas' {frmOption};

{$R *.res} 
{$R resource.res} 

begin
Application.Initialize;
Application.CreateForm(TfrmOption, frmOption);
Application.CreateForm(TfrmMain, frmMain);
Application.Run;
end.

NeoDeluxe 19. Feb 2003 17:25

:wiejetzt.
Was soll das denn sein?

Chewie 19. Feb 2003 17:32

Vergleiche mal Daniels Version genau mit der deinigen... :wink:

NeoDeluxe 19. Feb 2003 17:37

Alles klar. Danke schön!


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz