From: jogloran Date: 2006-07-08T21:06:28+09:00 Subject: Re: for loop decrementing ? 100.downto(0) { |i| p i } On 7/8/06, Une b�vue wrote: > the incrementing for loop : > > for i in 0..100 > p i > end > > gets 0 ...> 100 > > is their a syntax for a decrementing one like : > > for i in 100..0 (specifing the step to -1) > p i > end > > -- > une b�vue > >