in reply to BCD Clock built using only binary logic.

Looks like a cool idea. I get errors running your code.
1.
Global symbol "@hr" requires explicit package name at ./binary-clock line 141.

Take out "use strict", then:
2.
Use of uninitialized value in addition (+) at ./binary-clock line 100.
Use of uninitialized value in addition (+) at ./binary-clock line 101.
  • Comment on Re: BCD Clock built using only binary logic.

Replies are listed 'Best First'.
Re: Re: BCD Clock built using only binary logic.
by jryan (Vicar) on Dec 31, 2002 at 19:51 UTC
    Woops, how embarassing. I posted a quick fix last night (the time wasn't getting set correctly), and when I pasted in my fix, it looks like I didn't copy all of the lines I meant to :-/. It should work now, try it out.