>>>>> "t" == ts <decoux / moulon.inra.fr> writes: >>>>> "C" == Christoph Rippel <crippel / primenet.com> writes: C> x= '1'..'30' ^^^^^^^^^ t> if (FIXNUM_P(b) && FIXNUM_P(e)) { /* fixnums are special */ ^^^^^^^ I'm stupid, I make confusion between String and Fixnum :-( Try this pigeon% cat b.rb #!/usr/bin/ruby class String def succ self + "a" end end x = '1' .. '1cc' p x.to_a pigeon% b.rb ["1", "1a", "1aa"] pigeon% Guy Decoux