Dispatch and send

Peter Brigham MD pmbrig at gmail.com
Wed Dec 22 14:44:19 EST 2010

On Dec 22, 2010, at 12:56 PM, Richard Gaskin wrote:

> David Bovill wrote:
>> Anyone got a reason for this being Appropriate behavior?
>> dispatch "beep" to this cd -- no beep
>>> send "beep" to this cd -- a beep
> Interestingly, running this in the Message Box:
>  dispatch "beep" to this cd; put it
> ...yields "unhandled"
> You get the same with any build-in command, e.g.:
>  dispatch "go next" to this cd; put it
> Whether this is a weakness in the engine or the documentation is a  
> question of intention:
> Is "dispatch" designed to handle only custom handlers? It appears to  
> be, and if that's what's intended it's working fine and all that's  
> needed is a note in the docs clarifying that.

Note to this effect submitted to the Dictionary entry on "dispatch".

-- Peter

Peter M. Brigham
pmbrig at gmail.com

More information about the Use-livecode mailing list