Recently, Nonsanity wrote:

> I wouldn't rely on the send in time structure to actually fire every second.
> It's going to slip over time as the computer takes periodic spikes of use.
> If you want New Years Eve accuracy of the final countdown, you should
> probably re-calculate the delta based on the current time continuously.

Agreed.  A few years back, Geoff Canyon came up with the following which has
been reliable for me:

 send "someMsg" to someObj in (1 - (the long seconds mod 1)) seconds

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



_______________________________________________
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