|
In a Sub-procdeure, is there any way to get the name of the procedure being executed?
The subprocedure name is in the callstack. You can use an API to get retrieve the call stack entries, or you can send a message to yourself and see who it came from :)
Neither of these are ideal or perform particularly well.What are you trying to accomplish? Maybe I'd have some better suggestions if I knew the business problem you were trying to solve...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.