On Sat, Jul 19, 2003 at 08:09:08PM +0900, Simon Strandgaard wrote: > On Sat, 19 Jul 2003 18:04:07 +0900, Brian Candler wrote: > > > On Sat, Jul 19, 2003 at 07:26:32AM +0900, Phil Tomson wrote: > >> You guys are spoiling all my fun with recursive functions ;-) > > > > Sorry. Well for a bit more fun, how about writing a Gray code counter? The > > characteristic of this sequence is that each number differs from the > > previous one by exactly one bit. > > I found a homepage: ruby + gray code > > http://www.public.asu.edu/~ncban/graycode.html Now you're spoiling his fun again :-)