Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check which procedure or routine called Access method
Message
 
 
To
20/04/2021 00:59:10
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01679909
Message ID:
01680103
Views:
94
>Try PROGRAM() or ASTACKINFO()
>

Hi Lutz,

Getting back to this thread. You recommended to use ASTACKINFO(). Now I am trying to implement it.
But I only want to get the last routine that was called before ASTACKINFO(). Does it mean that I would need to access the array element equal to the total number of elements? For example:
ASTACKINFO(aStackArray)
?  aStackArray[alen(aStackArray,1),1)  && Program
?  aStackArray[alen(aStackArray,1),2)  && Module
Am I on the right track?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform