Autor Beitrag
martin300
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 186
Erhaltene Danke: 2



BeitragVerfasst: Do 02.07.09 11:06 
Suche als Beispiel eine Unit in der nur Konstanten definiert sind (Also zb. für Dialoge, Strings..). Von einem größeren Projekt. Wenn möglich sollte es objektorientiert sein und auch der restliche Sourcecode möglichst gut dokumentiert sein. Es muss nichts funktionierendes sein und dient als Vorlage um meinen Code besser zu dokumentieren.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 02.07.09 11:14 
Wie sollen Konstanten objektorientiert sein? :gruebel:

Schau dir z.B. einmal den Quelltext der Messages-Unit von Delphi an oder so. Im Grunde musst du die nur unter const hinschreiben, da gibts nicht viele Möglichkeiten.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Do 02.07.09 11:14 
Hallo,

dann schau Dir doch die Windows.pas von Delphi an. :wink:

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )