Question about messages
jbv at souslelogo.com
jbv at souslelogo.com
Mon Mar 17 09:00:33 EDT 2025
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
More information about the use-livecode
mailing list