This shouldn't happen.  The normal behavior in the case of "0NX", or "0Nd", or
... should be only 0-padded when the yielded string length is shorter than the
precision N.

Does it help if you force type conversion of byCheckSum with (UInt8)?

Max
--- Phong Nguyen <[EMAIL PROTECTED]> wrote:
> Thanks. The one you showed work! However, I still
> encounter the following problem:
> 
> StrPrintF(msg, "%02X", byCheckSum);
> 
> Assuming byCheckSum = 0xB9
> 
> Instead of printing the string "B9", it printed
> "000000B9". Please let me know how to fix this
> problem. Thanks.
> 


=====
http://www.weirdwww.com/

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

-- 
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