From: "Lars M." Date: 2003-01-21T23:35:57+09:00 Subject: Re: Threading problem ... Right. So what's the solution? How can I pass a block of code as an argument? -Lars ----- Original Message ----- From: To: "ruby-talk ML" Sent: Tuesday, January 21, 2003 3:33 PM Subject: Re: Threading problem ... > Hi -- > > On Tue, 21 Jan 2003, Lars M. wrote: > > > Hi, > > > > Why does this script not work the way I intended it to work? Thanks in > > advance. > > You're being punished for using camelCase in Ruby method names :-) > > But seriously.... > > > newThread(countdown) > > That line is going to call and execute the countdown method, and then > send the return value of that method to newThread. I don't think > that's what you wanted. > > > David > > -- > David Alan Black > home: dblack@candle.superlink.net > work: blackdav@shu.edu > Web: http://pirate.shu.edu/~blackdav > >