If you place a simple one-liner in “more stuff”, like “put random(99) into msg” does that work? Another words, is it something in your own “more stuff” that is the problem?
Craig > On Mar 17, 2025, at 9:00 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 _______________________________________________ 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