in reply to Magical Auto-Decrement
give results which aren't reversible. Update: (following comment below)--"a" gives "z" --"a00" gives "z99" --"0" gives "9" --"aa00" gives "zz99"
Yes, you should eat the left-char on underflow, and --"a" => undef and --0 => undef.
I was going to make a point about keeping items
in the right order for a sort, but of course zz++ == aaa
which screws up that point. Hmmm...
--
Brovnik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Magical Auto-Decrement
by John M. Dlugosz (Monsignor) on Jul 04, 2001 at 21:40 UTC |