How to find the procedure handle of the calling procedure?

Status
Not open for further replies.
S

Screwtape

Guest
I'm trying to write some testing programs and I have an idea to run a procedure, and have the procedure call internal functions and procedures in the calling program. As I understand it, you can use RUN x IN y where y is any procedure in the calling stack.

However, I can't seem to find any way of getting the handle for the calling procedure. There doesn't seem to be a means of moving up the call stack.

The only way I can think of doing it is by passing the calling procedure's THIS-PROCEDURE handle as a parameter. It would work, but seems rather inelegant.

Continue reading...
 
Status
Not open for further replies.
Top