From: Sebastian Hungerecker Date: 2008-01-18T03:54:45+09:00 Subject: Re: lambda block doesn't work with upto iterator Ed Loyot wrote: > # Why does this fail? > 0.upto(4) &proc2 It has to be 0.upto(4,&proc2) or 0.upto 4, &proc2 In other words: syntax-wise a &-proc is treated like just another argument (although it has to come last in the argument list), not like a block. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826