Question about messages
Alex Tweedly
alex at tweedly.net
Mon Mar 17 10:02:42 EDT 2025
And some people would not see it ....
On 17/03/2025 13:58, Craig Newman via use-livecode wrote:
> And for the umpteenth time, this is so much more palatable on the forum.
>
> Craig
>
>> On Mar 17, 2025, at 9:54 AM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> 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
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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