From: Sean O'Dell Date: 2002-04-10T10:34:59+09:00 Subject: Re: Range.each without iteration "Yohanes Santoso" wrote in message news:87r8logyge.fsf@jenny-gnome.dyndns.org... > "Sean O'Dell" writes: > > > How does one specify a range so that range.each never iterates? I've tried > > [0..value], [0...value] and [0..value-1] but .each executes at least once > > for each. > > Not "at least once", but exactly once because [0..value] is not a > range. May be what you want is (0..value) which is a Range. Range is > can be end-inclusive or end-exclusive Thank you...for some reason, I thought the [] was used for ranges. I just patched up my code it works exactly as I needed it to! Sean