> > because you don't actually increment it anywhere. Perhaps you want something like: > > x=5 > y=0 > x.times do > (y += 1).times do > puts "x = #{x} y = #{y}" > end > end > > cheers, > mick You'd think I'd have gotten that. Oh well. There's one problem fixed. Thanks.