Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Einbinden von Units (https://www.delphipraxis.net/81623-einbinden-von-units.html)

Chris P 30. Nov 2006 13:17


Einbinden von Units
 
Hi Leute,

ich habe eine grundsätzliche Frage zum Einbinden von Units:

Also angenommen ich habe eine UnitA und eine UnitB. Und jetzt binde ich in
beide Units z.B. die Unit SysUtils ein, und anschließend binde ich die UnitB
in UnitA ein.

Meine Frage also: Wird jetzt die Unit SysUtils doppelt ins Programm eingebunden oder
optimiert der Compiler das und bindet sie nur einmal ein?

chaosben 30. Nov 2006 13:19

Re: Einbinden von Units
 
Zitat:

Zitat von Chris P
Wird jetzt die Unit SysUtils doppelt ins Programm eingebunden ... ?

Nein, die Unit ist in deinem Programm eindeutig.

oki 30. Nov 2006 13:20

Re: Einbinden von Units
 
nur einmal.

gruß

Chris P 30. Nov 2006 13:23

Re: Einbinden von Units
 
Also kümmert der Compiler sich darum.

Ok, vielen Dank ...


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:03 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