Converting an integer between 0 and 255 to a 2 digit hex number is probably
easier to do from scratch than using StrPrintF followed by adding the 0's at
the beginning. Just use / 16 and % 16 to get the digits. Then map the digit
value to a character by indexing into a constant string "0123456789ABCDEF".
-
Peter Epstein

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