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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.