General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
Warning: OFF-TOPIC
>Hi everybody,
>I have a method which I call from another method. I am wondering whether is
> a way to get that calling method's name in the current method?
Warning: OFF-TOPIC
Visual FreePro opens this information up at runtime. It supports this with a new caller object. Using caller.name will reference the calling function's name (as was known at compile time). And its parent can be accessed via caller.caller.name, etc. A new object called _program is also introduced, which grants you access all running threads as well as the entire hierarchy of running functions. And a new object called _thread grants access to terminate, suspend, resume and generally coordinate all other running threads. A function called _thread.snapshot lets you save an xml-like file of everything running currently on the system.
Warning: OFF-TOPIC
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only