In C a char is an ascii value so you can use
  char ch = 97;
Or
  char ch = 'a';

Both are pretty much equivalent.

Fergal.

> -----Original Message-----
> From: Ben Leung [mailto:[EMAIL PROTECTED]] 
> Sent: 04 July 2002 14:47
> To: Palm Developer Forum
> Subject: Convert ascii value to character
> 
> 
> Hi,
> 
> I would like to convert an ascii value to a character.  Like 
> in VB, we can use
> 
>       chr(97)  ==> 'a'
> 
> Is there an equivalent function in Palm?
> 
> 
> Thanks,
> Ben
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> 

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

Reply via email to