itoa follows the format used by hexadecimal notation. That is the typical numerical notation. In either case he won't be able to maintain numerical sequence as you would expect since the sequence would be a, b, ..., z, aa, ab, ..., az, ..., za, zb, ..., zz, aaa, aab, ..., aaz, ..., but the sorted sequence would be a, aa, aaa, ..., unless you made leading blanks significant, and then you would always have an issue with how the keys were typed for searching.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----Ken Sims <mdrg8066@xxxxxxxxxxx> wrote: -----
To: midrange-l@xxxxxxxxxxxx
From: Ken Sims <mdrg8066@xxxxxxxxxxx>
Date: 06/18/2015 10:50AM
Subject: Re: The case of outnumbered numerator
On Thu, 18 Jun 2015 09:06:43 -0400, "Mark Murphy/STAR BASE Consulting
Inc." <mmurphy@xxxxxxxxxxxxxxx> wrote:
I have done this using the C library function itoa() pass in an integer value and a base (base 36 will give 0-9 and A-Z). You can search google for usage documentation.
Does this function do 0-9 followed by A-Z or A-Z followed by 0-9?
I suspect that it is likely to be the former, but Gad needs the latter
to maintain the current ordering.
Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.