Suggestion: the callingHandler

Dar Scott dsc at swcp.com
Sun Jun 1 12:40:09 EDT 2003


On Sunday, June 1, 2003, at 05:01 AM, curry wrote:

> So, I like the way the executionContexts works. It, or something 
> almost just like it, would be the answer.

Can stack file names have commas?  If so...  If you tinker with this, 
you may want to watch out for that.  Maybe the handler name is item -2 
and the object is item 1 to -3.

I like the ability to pick off the nth caller, so I can make a utility 
function to get the calling object.  However, if Scott discourages 
this, then I'm going to try something else.  Even so, this can be handy 
in creating a mockup of a related function in making suggestions.

If this becomes a supported property, then maybe it can be defined in 
such a way that it can grow as mc/rev needs grow and yet still be safe 
to use.

Dar Scott




More information about the use-livecode mailing list