Autor Beitrag
Aton
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 125

Windows XP
D7 Enterprise
BeitragVerfasst: Mi 14.04.04 08:03 
Hallo Forum,

warum wird seit Delphi 4 z.B. beim StringGrid (Ereignis onDrawCell) ACol, statt Col geschrieben? Was hat es mit dem vorgestellten A auf sich und für welches Wort steht es?

Danke,
Gruß Jens.

PS: Tut mir leid, aber ich muß alles wissen. :nixweiss:
UC-Chewie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 531

WinXP
D5 Ent
BeitragVerfasst: Mi 14.04.04 10:31 
Das "A" vor einem Parameternamen bezeiht sich darauf, dass es sich um ein Funktionsargumnt handelt und nicht um eine lokale Variable z.B.
Es gehört zu den wenigen Formen ungarischer Notation, die im Delphi-Bereich üblich sind (wie T vor Typnamen und F vor privaten Feldern).

_________________
Egal wie dumm man selbst ist, es gibt immer andere, die noch dümmer sind
Aton Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 125

Windows XP
D7 Enterprise
BeitragVerfasst: Mi 14.04.04 12:05 
Danke, sehr interessant.

Wo kann man darüber mehr erfahren? Ich würde auch gern in einem guten Delphi - Stil programmieren.

Ach, und ungarisch?!

Gruß Jens.