Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check which procedure or routine called Access method
Message
From
04/05/2021 06:54:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
04/05/2021 06:46:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01679909
Message ID:
01680122
Views:
36
>>>Just want to point out that needing to know all this is a reason to use ASTACKINFO(). You get an array with all the information you need, and the return value of the function is the number of levels.
>>>
>>>Tamar
>>
>>Hi Tamar, they where about speed issues of ASTACKINFO() vs PROGRAM(), since Dimtry likes to do this in an ACCESS_ method.
>
>I haven't tested speed of ASTACKINFO(), but I've used it pretty extensively in some various logging code without noticing slowdowns. When i use it, I tend to not only call it, but then loop through and build a string of the results.
>
>Tamar

Sounds familiar. Looping through PROGRAM() just for listing the stack sounds not wise since we have ASTACKINFO. But here it's just about who calls a method. I guess it might not be of much influence - if, the use of ACCESS_ might be the bigger problem.
I doubt the idea of figuring out who calls ACCESS_ method at all. I would check for action/write by a different property, but then, it's not my solution.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform