Send command question
Jan Schenkel
janschenkel at yahoo.com
Sat Jul 20 14:39:01 EDT 2002
Hi David, RIchard and everyone else,
My apologies for potentially misleading anyone. Must
have misread the question and thought it was a 'send
xxx to yyy in zzz time' construction. It had been a
long day i guess.
Glad you guys corrected me :-)
Jan Schenkel.
--- Richard Gaskin <ambassador at fourthworld.com> wrote:
> >> Your assessment is correct: a 'send' will not
> execute
> >> until the end of the current thread of code.
> ...
> > Thanks for pointing to this. I consider it a bug,
> a deviation from HC and
> > a difficult feature. A send without time parameter
> should be executed
> > instream.
> > I always used it in this way.
>
> How about the flexibility of having it both ways?
>
> The send command is only queued for idle time if the
> "in <timeIncrement>"
> form is used.
>
> Any ambiguity can be quickly resolved with a simple
> test:
>
> --
> -- test 1:
> --
> on mouseUp
> answer "aaa"
> send "doB" to me
> answer "ccc"
> end mouseUp
>
> on doB
> answer "bbb"
> end doB
>
>
> --
> -- test 2:
> --
> on mouseUp
> answer "aaa"
> send "doB" to me in 2 secs
> answer "ccc"
> end mouseUp
>
> on doB
> answer "bbb"
> end doB
>
>
> --
> Richard Gaskin
> Fourth World Media Corporation
> Custom Software and Web Development for All Major
> Platforms
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
More information about the use-livecode
mailing list