Repeatloop in mouseDown handler wont end

Richard Gaskin ambassador at fourthworld.com
Mon Nov 18 13:09:01 EST 2002


Rob Cozens wrote:

>> on mouseRelease
>> if "updateMe" is in the pendingMessages then
>> cancel "updateMe"
>> end if
>> end mouseRelease
> 
> Just curious, Jan,
> 
> The Rev Dictionary states the argument to cancel is the id of the
> message (though it then gives an example referencing a line from
> pendingMessages).  It does not show or mention cancelling an event by
> name.  I trust it works, or you would not have posted this.
> 
> BTW, someone posted something along the lines of:
> 
> send "someMessage" to me in x seconds
> put it into messageId
> 
> a few days ago.  This will NOT work: the second line should be "put
> the result into messageId".

That should be flagged as a bug, since "it" is more commonly used for return
values from command and "the result" is more commonly used for error info.

Is there a lexical distinction that justfies this exception?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.0: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list