Quick and dirty? A variable that keeps track of the calling function. Else give a param to myproc of type proc a/b/c/d/e provided those have the same params signature.
regards, NIRAV KAKU On 9 Oct 01, at 4:41, Paul Mostek wrote: > Dear Sirs, > I have the following problem: > > Imagine you have seven procedures (A(), B(), C(), > D(), E(), F() and MyProc(). Anyone of them can call > the procedure MyProc(). > Inside MyProc() I need to know which was the > procedure that called it. > Is there a way of doing this in Delphi ? > > Thank you in advance. > > Paul Mostek > > > > > --------------------------------------------------------------------------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/