Re: K&R Exercise 6-2
- From: spambait@xxxxxxxxxx (Doug Miller)
- Date: Fri, 29 Aug 2008 13:17:54 GMT
In article <16OdnWCI1MoDaCrVnZ2dnUVZ_q_inZ2d@xxxxxxxxxxxxx>, pfiland@xxxxxxxxxxxxxx wrote:
However, the definition of "alphabetical order" according to strcmp,More specifically,
isn't exactly the same on different character sets.
In ASCII, a variable name like "A6A", comes before "ABA".
In EBCDIC, a variable name like "A6A", comes after "ABA".
Also uppercase letters come before lower case in ASCII,
but not in EBCDIC.
EBCDIC: a..z < A..Z < 0..9
ASCII: 0..9 < A..Z < a..z
--
Regards,
Doug Miller (alphageek-at-milmac-dot-com)
Join the UseNet Improvement Project: killfile Google Groups.
http://www.improve-usenet.org
Get a copy of my NEW AND IMPROVED TrollFilter for NewsProxy/Nfilter
by sending email to autoresponder at filterinfo-at-milmac-dot-com
You must use your REAL email address to get a response.
Download Nfilter at http://www.milmac.com/np-120.exe
.
- Follow-Ups:
- Re: K&R Exercise 6-2
- From: Pilcrow
- Re: K&R Exercise 6-2
- References:
- K&R Exercise 6-2
- From: mdh
- Re: K&R Exercise 6-2
- From: Eric Sosman
- Re: K&R Exercise 6-2
- From: pete
- K&R Exercise 6-2
- Prev by Date: Re: K&R Exercise 6-2
- Next by Date: Re: C99 portability challenge
- Previous by thread: Re: K&R Exercise 6-2
- Next by thread: Re: K&R Exercise 6-2
- Index(es):
Relevant Pages
|