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

Reply via email to