jastrachan | 7 Apr 16:52 2004
Picon

Re: preincrement behavior

On 6 Apr 2004, at 22:32, Chris Poirier wrote:
> Hi Kas,
>
>> groovy> ch="a";++ch
>
> Increment on strings does character sequences.  "99"++ should give
> "100", "Az"++ should give "Ba", I think.  That said, I don't think it 
> is
> working, correctly.  :-)

I can imagine the edge cases are not working completely properly. Most 
of the test cases have been to test "a".next() == "b" etc.

James
-------
http://radio.weblogs.com/0112098/

Gmane