Documentation on Dispatch

Richard Gaskin ambassador at fourthworld.com
Tue Jan 10 18:09:28 EST 2017


Ali Lloyd wrote:

 > The `dispatch function` form of the dispatch command indeed does not
 > appear to be documented.

What does that syntax look like?

This works:

on mouseUp
   dispatch "foo" to me with 1,2
   put the result
end mouseUp

on foo p1, p2
   return p1 + p2
end foo


...but this does not:

on mouseUp
   dispatch "foo" to me with 1,2
   put the result
end mouseUp

function foo p1, p2
   return p1 + p2
end foo


-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list