It looks like ranges can't "jump" from uppercase to lowercase.
So it gets all the way to Z and hits the brick wall.
perl has the same "feature":
for("A".."k") {
print "$_ ";
}
=> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
-joe
> -----Original Message-----
> From: Mathieu Bouchard [mailto:matju / cam.org]
> Sent: Saturday, December 16, 2000 10:17 AM
> To: ruby-talk ML
> Subject: [ruby-talk:7449] question: 'A'..'k'
>
>
>
> k=0; ("A".."k").each{|x|k+=1}; k
>
>
> I expected 11, I got 26. Why is that?
>
> matju
>
>