Startseite ¦  was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews ¦  sonstiges
kylix ¦  tutorials ¦  online shop ¦  fotos ¦  Add&Win Gewinnspiel


Willkommen Gast. Bitte einloggen oder registrieren.
08.02.2012, 02:43:36
Übersicht Hilfe Suche Einloggen Registrieren

+  SwissDelphiCenter Forum
|-+  English Forums
| |-+  General Forum
| | |-+  Uses class in inyerface and implementation
« vorheriges nächstes »
Seiten: [1] Drucken
Autor Thema: Uses class in inyerface and implementation  (Gelesen 1786 mal)
Mahendran
Newbie
*
Offline Offline

Beiträge: 1


E-Mail
« am: 25.02.2008, 14:36:52 »

Wats the need for two uses class in unit file both in interface and implementation file....
Gespeichert
Loïs Bégué
Global Moderator
Hero Member
*****
Offline Offline

Beiträge: 1718



WWW
« Antworten #1 am: 26.02.2008, 09:36:22 »

At least 2 reasons:
- "uses" in implementation won't be exposed outside the unit (similar to local vs. global variables...)
- different levels of "uses" clauses allow (under certain circumstances) a kind of cross-dependency between 2 units.
Gespeichert

Prof.Y
Arpoon
Seiten: [1] Drucken 
« vorheriges nächstes »
Gehe zu:  


Einloggen mit Benutzername, Passwort und Sitzungslänge

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS