Using handler local variables of caller

Bob Sneidar bobs at twft.com
Tue May 1 18:58:52 EDT 2012


If the handlers are in the same script, can't you use script local variables? If they are in different scripts, then Peter's suggestion of using properties may be the way to go. Seems like a lot to avoid passing parameters though. 

Bob


On May 1, 2012, at 3:11 PM, Dar Scott wrote:

> I'd like a function to use some variables of the caller without them being passed or being declared as globals.  Is there a way to do that?
> 
> Desktop externals can do that, but I don't see a way for a library in a function to do that.
> 
> Dar
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list