Question about messages
Craig Newman
craig at starfirelighting.com
Mon Mar 17 09:54:13 EDT 2025
First off, the “with messages” is not proper syntax for “send”. It is for “wait”. I removed that portion, but do not understand how you got past it.
Make a field. This works:
on opencard
send "handler1" to me
end opencard
on handler1
send "handler2" to me in 200millisec
end handler1
on handler2
put random(99) into fld 1
send "handler2" to me in 200millisec
end handler2
I get lots of random numbers, five per second. No idea what “condition” is, so I deleted it. Anyway, it is not something in the foundation of your script.
Craig
> On Mar 17, 2025, at 9:42 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Le 2025-03-17 09:27, Craig Newman via use-livecode a écrit :
>> 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,
> It stops working.
> It seems like messages aren't sent when handler1 is running...
>
> jbv
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list