strange problems with SEND

Mark Waddingham mark at livecode.com
Fri Jan 17 11:29:21 EST 2020


Double check your pending messages after the send - the line you quoted doesn’t match the name of the handler in send...

Warmest Regards,

Mark.

Sent from my iPhone

> On 17 Jan 2020, at 15:46, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> HI all,
> 
> I want to execute a handler in the future -> tomorrow at 8:00 AM
> So I scripted:
> ...
> put the date into tDatum
> convert tDatum from date to dateitems
> add 1 to item 3 of tDatum
> put 8 into item 4 of tDatum
> 
>   ## dateitems:
>   # 1. the year
>   # 2. the month number
>   # 3. the day of the month
>   # 4. the hour in 24-hour time
>   # 5. the minute
>   # 6. the second
>   # 7. the numeric day of the week where Sunday is day 1, Monday is day 2, and so forth 
> 
> convert tDatum from dateitems to seconds
> put tDatum - the seconds into tNeuesDatum
> send "checkabfrage" to me in tNeuesDatum secs
> put the result into checkabfrage_id   
> ...
> Looks OK in the debugger, tNeuesdatum is something like 58000, which is correct.
> 
> However, when I query "the pendingmessages" this message shows up as:
> 39440,3158550744.943945,onlinekursinfo,stack "/xxx.livecode"
> 
> But 3158550744.943945 as "delivery" time resolves (convert) to: 
> long system date -> Sonntag, 2. Februar 2070
> long date -> Sunday, february 2, 2070?
> date -> 2/2/70
> 
> Is this broken somehow or am I missing something?
> Any insight appreciated!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> 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