Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!olivea!orc!inews!cmdnfs!bhoughto From: bhoughto@cmdnfs.intel.com (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: Summary: Converting ascii hex to pure hex values Summary: I get the feeling I'm following up too fast, today... Message-ID: <867@inews.intel.com> Date: 8 Nov 90 00:23:21 GMT References: <302@cti1.UUCP> <14367@smoke.brl.mil> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 11 In article <14367@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >In article <302@cti1.UUCP> mpledger@cti1.UUCP (Mark Pledger) writes: >>If you have a character string with the ascii representation of hex values >>(e.g. s[] = "63", which will be stored as TWO hex byte values \x9 & \x9. > >No, the two successive values will be 0x36 and 0x33. No, the three successive values will be 0x36, 0x33, and 0x00. --Blair "Dead horse. Whip. Whap!"