It is almost never safe to assume your code is perfect
Kay C Lan
lan.kc.macmail at gmail.com
Sun Oct 6 05:11:27 CEST 2013
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
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 <jacque at 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 <gcanyon at 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 | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode