Documentation on Dispatch

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 10 20:08:27 EST 2017


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:



More information about the use-livecode mailing list