On Mon, June 5, 2006 9:00 pm, tedd wrote:
>>Does that make more sense?
>
> Maybe to you, but not me.
a
b
c
.
.
.
x
y
z
aa
ab
ac
.
.
.
ax
ay
az
ba
bb
bc
.
.
.
aaa
.
.
.
zzz
aaaa
.
.
.
zzzz
.
.
.
aaaaaaaaaaaaaaaaaaaa
.
.
.
zzzzzzzzzzzzzzzzzzzz
It's just like 1 thru 9 followed by 10, except that it is NOT an
ordered set in terms of < and >
> In my last post I showed an "actual sequence" which is debatable. It
> could be interpreted that the infinite set starts at "a, aa, aaa,... "
> and never reaches "b". Oddly enough, this could be viewed in all sorts
> of ways. It's probably best if we don't look at characters as numbers.
EXACTLY!
They aren't numbers.
So doing ++ to one of them, doesn't necessarily end up with an ordered
set.
Rasmus chose to make ++ be useful for generating sensible sequential
file names, not sensible ordered strings.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php