Fredrik Jagenheim wrote: > Have I misunderstood something, or stumbled over a bug? > > StrPrintF(charP, "%u %u", 4, -4); > gives: > charP = 0x1a614 "4 65532" You are putting a signed int into an unsigned field. To do what you want, I suggest... StrPrintF(charP, "%i %i", 4, -4); Steve -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
- StrPrintF bug? Fredrik Jagenheim
- Re: StrPrintF bug? Adam Wozniak
- RE: StrPrintF bug? Fitzpatrick, Joe
- StrPrintF Bug? Steve Sabram
- StrPrintF Bug? Thomas Ward
- RE: StrPrintF Bug? Craig Thrall
- Re: StrPrintF Bug? Richard Burmeister
- Re: StrPrintF Bug? Thomas Ward
- RE: StrPrintF Bug? Fitzpatrick, Joe
- Re: StrPrintF Bug? Roger Chaplin
- Re: StrPrintF Bug? Richard Burmeister
- RE: StrPrintF Bug? Fitzpatrick, Joe
- Re: StrPrintF Bug? John Marshall
- Re: StrPrintF Bug? Gee Ng
