Read about StrPrintF (StrVPrintF) in the manual, especially the part about
which modifiers it does support.  (and please note that the '0' fill
modifier is not listed)  I don't have an alternate solution off the top of
my head, but it might be easier to add your 0's after you have converted you
hex number to a string.  i.e. count the # of characters in the string and
prefix the required # of 0's.

----- Original Message -----
From: "Essell" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 8:42 PM
Subject: StrPrintF for the PalmOS .. ?


> hi guys ..
>
> i've tried something like this & it doesn't work on the palm ..
> StrPrintF(&testMe[x],"%02x",&testString[y]) ..
>
> "%02x" seems to be the same as "%x" with this function .. but i really
need
> "%02x" .. can someone please tell me how this is done .. or if it cannot
be
> done .. any other way i could acheive the same result ..
>
>
> thanx a whole lot ..
>
>
>
> --
> 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