From: Ron Jeffries Date: 2001-08-04T20:10:58+09:00 Subject: [ruby-talk:19124] Re: graphic display On Sat, 4 Aug 2001 07:08:10 +0900, Dave Thomas wrote: > require 'tk' >... > ant_drawer = proc { > x = rand(20) > y = rand(20) > color = %w{ red green blue white }[rand(4)] > farm.drawAntAt(x, y, color) > Tk.after(500, &ant_drawer) > } > > ant_drawer.call > > Tk.mainloop Thanks, just what I needed. Just one more thing ... Check me here, please? This is recurring infinitely, not just looping, right? Thanks, Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com