here is the CLOCKFACE script...coded in 3 MINUTES...17 LINES of CODE

Dennis Brown see3d at writeme.com
Thu Jun 9 08:51:45 EDT 2005


Geoff,

I also just took out the hour 'if' statement in yours, so that  
minutes and hours are updated together after only 10 seconds from  
start.  The extra time for doing the hours every ten seconds is trivial.

Dennis

On Jun 9, 2005, at 1:12 AM, Geoff Canyon wrote:

> On Jun 8, 2005, at 8:40 AM, Eric Chatonet wrote:
>
>
>> Just a little thing: with this new very clever code, the clock  
>> will not be at time just when opening ;-)
>> So 4 lines more and 2 repetitions that are not satisfying: I bet  
>> you will find a better solution in 3 minutes!
>>
>
> Thanks for the compliment. I'm not sure I would find a better way.  
> I thought about this issue and decided to ignore it this morning  
> because I didn't have time to do something better. Your way,  
> passing in an argument to force an update, is likely the best with  
> this particular design, although have a look at the example Dar  
> suggested and Dennis posted. Separating the movement of the three  
> hands into three separate handlers gets past this problem.
>
> gc
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list