--- Ed <[EMAIL PROTECTED]> wrote:
> Is there a function that takes in an ASCII value and spits out the
> character?  Sort of like the Chr$() function in VB...  Maybe
> I missed it.

In C there isn't much difference between an int and a char, so you can
do something like this:

  int i = 80;
  char c = (char)i;
  StrPrintF(msg, "int %i is char %c", i, c);
  WinDrawChars(msg, StrLen(msg), 20, 65);

Note, however, that the character set used on Palm OS devices is not
exactly the same as ASCII.  See AsciiChart.prc at PalmGear
(http://www.palmgear.com/software/showsoftware.cfm?sid=50267020020402181508&prodID=217)
or Handango for a program that displays the character sets on your
handheld.


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to