Documentation on Dispatch

Bleiler, Timothy bleiler at
Wed Jan 11 00:54:19 CET 2017

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.


on mouseUp
   Put "27" into tTemp
   Dispatch  "AdjustSetting" with tTemp
   # now tTemp = 62
   put tTemp 
end mouseUp

on AdjustSetting @pSetting
   Add 35 to pSetting
end AdjustSetting

More information about the use-livecode mailing list