Documentation on Dispatch

Bleiler, Timothy bleiler at buffalo.edu
Tue Jan 10 19:34:56 EST 2017


Since Livecode version 7.0 it’s also possible to pass an array element by reference and that also works with “Dispatch”.

Example:

on mouseUp
   Put "27" into tTemp["tKey"]
   Dispatch "AdjustSetting" with tTemp["tKey"]
   # Now tTemp["tKey"] = 62
   put tTemp["tKey"]
end mouseUp

on AdjustSetting @pSetting
   Add 35 to pSetting
end AdjustSetting


More information about the use-livecode mailing list