Is there any strangeness about the "StrPrintF" function, perhaps on specific
PalmOS versions? I have the following statement in my program:

    StrPrintF(ac_Txt, " %4d", s_Year);

Where "ac_Txt" is a char[10] string and "s_Year" is a Short. The resulting
string, "ac_Txt", is then displayed in a table cell. This works on my Palm
IIIx and apparently most other people's units. However, I'm getting reports
from some customers that they are seeing the characters "4d" appear in the
field instead of the number that they are expecting. This sounds like
StrPrintF is copying the format string directly to the field instead of
applying the formatting to the integer variable. Any ideas why this might
happen on particular units?

  Doug Gordon

Reply via email to