Ah ha, Now I do feel foolish. I'm sure I typed 'the long seconds mod 1' into the message box but when I went back with the history feature I'd only typed the seconds.
Now that is very very clever. I'll defintely be storing that one away. On Sun, Oct 6, 2013 at 10:55 AM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 10/5/13 9:30 PM, Kay C Lan wrote: > >> On Fri, Oct 4, 2013 at 10:48 PM, Geoff Canyon <gcan...@gmail.com> wrote: >> >> >> The switch to send in (1 - (the long seconds mod 1)) seconds was a >>> very unexpected and exceedingly clever hack. >>> >>> >> Sorry, I still don't get it. >> >> In the msg box: >> >> the long seconds mod 1 >> >> always returns 0 --seems right. >> > > I get zero and the fraction, for example: 0.034014 > > So the clock uses that fraction to account for script time, and sends the > next update exactly on the whole second. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > 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<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