Autor Beitrag
Mortal-Shadow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 110



BeitragVerfasst: Di 26.05.09 21:29 
Hi,

der Titel sagt eigentlich alles.
Ich will auf jeden Fall vermeiden die Namen einiger Konstanten in einer anderen Unit zu verwenden.
Oder muss ich ihr dazu einen extrem umständlichen Namen geben?
Bsp: Const_Name_der_Unit_Name_der_Konstante

Mfg.


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Di 26.05.2009 um 21:32
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 26.05.09 21:32 
Wenn es nur lokal sein soll, schreibe es unterhalb von implementation hin oder lagere es in eine andere Unit aus, die du nur in die Unit einbindest, wo du sie nutzen willst.
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10184
Erhaltene Danke: 1259

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 26.05.09 21:34 
Moin!

IIRC hängt die Sichtbarkeit einer Konstanten (eigentlich jeglicher Deklarationen :guebel:) davon ab, ob du sie im interface- oder im implementation-Abschnitt anlegst. :idea:

cu
Narses

zu spät... keinen Hinweis bekommen... ?!

_________________
There are 10 types of people - those who understand binary and those who don´t.
Mortal-Shadow Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 110



BeitragVerfasst: Di 26.05.09 21:39 
Danke, klappt :-)