"Max Bian" <[EMAIL PROTECTED]> wrote in message news:74864@palm-dev-forum... > > 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)?
Remember that StrPrintF is not sprintf. It doesn't behave like the standard routine in several ways, the zero-fill modifier is not a supported option, and %x always does eight digits. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
