Autor Beitrag
Stauch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 140

Win 2000, Win XP
D4
BeitragVerfasst: Do 01.04.04 09:58 
Hallo,

ist es möglich eine Prozedur Init so zu deklarieren, das der Aufruf

ausblenden Delphi-Quelltext
1:
Init; //also ohne Parameter					


ein paar Startwerte automatisch berechnet und der Aufruf

ausblenden Delphi-Quelltext
1:
Init (a,b);					


die Parameter a und b als Startwerte übergibt?

MfG C.

_________________
Geht das? Und wenn ja, warum nicht?
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Do 01.04.04 10:10 
Hallo

gugg dir mal die overlaod-direktive in der onlinehilfe an, damit geht das

mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Stauch Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 140

Win 2000, Win XP
D4
BeitragVerfasst: Do 01.04.04 10:20 
Yep!

Danke - das war der Punkt. :D

Carsten

_________________
Geht das? Und wenn ja, warum nicht?