get a C programming book and learn C.

-----Original Message-----
From: Conrad Spiteri [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 15:12
To: Palm Developer Forum
Subject: Re: Hex Character conversion


Hi Alvin,
When I used your suggested code i.e.

  value[0] = hexdigits[y[0] >> 4];
  value[1] = hexdigits[y[0] & 0xf];

  I got non hex values like _(underscore) and 'P'. I
have also noted that this only happens where the data
is greater than 0x00FF.
How can I seperate the upper and lowwer byte.

Thanks again.
Conrad

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to