Subject: Finding the Calling Verb

From: [email-masked] (Jeff T.P.)
Date: Wed, 10 Nov 1993 16:50:59 -0800

-----BEGIN PGP SIGNED MESSAGE-----

In recent times I've had the desire to know what verb is calling another
verb.  For example, what verb calls :announce from inside :announce.  Is
there a `simple' way to do this?

- -- 
I don't know which is worse, that  |  I'd make mine higher, but it's
everyone has a price, or that the  |  hard to find buyers as it is.
price is always so low.            |
                                      -- PGP Key Available --

---

From: [email-masked]
Date: Wed, 10 Nov 1993 16:13:02 -0800

>there a `simple' way to do this?

Check out the built-in function callers().  It returns information listing
 the verbname, location, player, programmer, and this (thought not in that
 order - check `help callers()' for the actual order).  It actually returns
 a list of lists.  Each sub-list is a list of that information I mentioned
 above with the first sub-list being the verb that called the current verb,
 the second being the verb that called that one, and so on back to the
 command-line.

--- Dov Sherman
    [email-masked]