int AsciiValue(char TheChar)
{
return TheChar;
}

The int value of a char is the ascii value.

----- Original Message -----
From: "Ai Lee Tang" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 4:35 AM
Subject: Encoding


> Hi all,
>
> Is there any function that i can use for encoding ? I'm looking for a
> function whereby I pass in char, it could be able to return me an Ascii
> code.
>
> There is a function - TxtCharEncoding(chr), but this function can only
> supply me the encoding type.
>
> Could it be possible to get the ascii code for a char? If possible, what
is
> the function?
>
> rgds,
> ailee
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> --
> 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