Monte Goulding wrote:

> Try this:
>
> on mouseUp
>  dispatch function "foo" to me with 1,2
>  put the result
> end mouseUp
>
> function foo p1, p2
>  return p1 + p2
> end foo

Yep, it works.

So it's not so much wrapping it per se, just calling it directly by adding the "function" specifier to "dispatch".

Interesting.  Thanks.

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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to