Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name of calling function from called function?
Message
From
03/06/2004 15:07:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00909665
Message ID:
00909673
Views:
6
>How can I determine within my function which other function called it?

Check out the PROGRAM() function. -1 returns depth of calls. PROGRAM(PROGRAM(-1) - 1) should give you what you're after.
Duty is ours, the results are God's - John Quincy Adams
Previous
Reply
Map
View

Click here to load this message in the networking platform