Hi.

O yea...man am I dumb. Yes my assignment to the function's return
value was an int.

Thanks Ben!
Regards

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben
Combee
Sent: Sunday, December 03, 2000 7:24 AM
To: Palm Developer Forum
Subject: Re: Hex to Integer


"Radiosity" <[EMAIL PROTECTED]> wrote in message
news:31908@palm-dev-forum...
>
> Hi,
>
> I made the changes from int to long for all the needed places, but
> it seems that after i've done that, it seem to convert the last 4 HEX
> chars, ignoring the first 4!
>
> I followed exactly as per your changes (even cut and paste).
> Any idea where i went wrong?

Are you assigning the return value to an "int" or a "long".  If you assign
it to an int, you'll only see the low 16 bits, which would correspond with
the last 4 hex digits.



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


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

Reply via email to