Documentation on Dispatch

Ali Lloyd ali.lloyd at livecode.com
Wed Jan 11 07:46:21 EST 2017


Filed: http://quality.livecode.com/show_bug.cgi?id=19082

On Wed, Jan 11, 2017 at 1:08 AM Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I use this ALL the time. sqlYoga uses special arrays for Record Objects,
> and the elements of one of these arrays can *only* be modified using the
> sqlrecord_set command. Because of this, I need to pass these record objects
> by reference to update them correctly. Very handy.
>
> Bob S
>
>
> On Jan 10, 2017, at 15:54 , Bleiler, Timothy via use-livecode <
> use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>>
> wrote:
>
> Another feature of “dispatch” that is undocumented is that it can be used
> with call by reference variables. The variables passed as call by reference
> can also be arrays, which can come in handy sometimes.
>
> Example:
>
> _______________________________________________
> 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