i'm gonna have to see more to help.
i have a mobe project that runs with multiple cron + timer jobs running at
a time. it runs great.
one of those timers modifies the appearance of a control, multiple times
per second, while another polls the server, and another lets me display
non-blocking modal "ask" and "answer" dialogs (the custom dialogs appear
over everything else, but i can dismiss them from inside of the scripts
that are still running - which is something you can't do with regular ask
and answer dialogs.

On Mon, Mar 17, 2025 at 9:01 AM jbv via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi list,
>
> Here's what I am trying to do :
>
> on opencard
>     send "handler1" to me with messages
> end opencard
>
> on handler1
>     send "handler2" to me in 200 millisec
>     -- more stuff
> end handler1
>
> on handler2
>     if condition then
>        send "handler2" to me in 200 millisec
>     end if
> end handler2
>
> The idea is to have handler2 keep sending messages
> as long as "condition" is true, while handler1 keeps
> running and eventually sets "condition" to false,
> and therefore stops handler2 from sending messages.
>
> The simple above test script works, but with sophisticate
> commands in "more stuff", I get a script error and can't
> figure whether it's a syntax or a structure error...
> In other words, the question is : if handler1 keeps running
> for some time, does it conflict with handler2 ?
>
> Thank you in advance.
> jbv
>
> _______________________________________________
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
_______________________________________________
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