Documentation on Dispatch

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 10 17:26:38 EST 2017


A perhaps better way is to put all your functions that you want to call "remotely" in a button or a script only stack and when you first open your stack insert  the script of <said object> into front or back. One thing to keep in mind however is scoping. 
"this" for example refers to the object which called the command or function, and NOT the object  the front or back script is in. 

Bob S


> On Jan 10, 2017, at 12:49 , Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> for the documentarians among us.
> 
> Sometimes you want to do a "remote" call to a function and get data back. At first this appear no possible
> 
> send | dispatch | do | call
> 
> BUT: FYI you can wrap a function in Dispatch and the value is returned in the result.
> 
> this is not documented.
> 
> 
> 
> _______________________________________________
> 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