Page 1 of 1

Retrieving the ascii number for characters

Posted: Tue Aug 02, 2005 3:37 pm
by gpbarsky
Hola mis amigos....

I couldn't find any function to retrieve the ASCII number for a given character. I mean, given the "A" letter, I want the function to return me the 65 value (working with the ASCII table).

What is the name of this function ?

Thanks in advance.
:wink:

Posted: Tue Aug 02, 2005 3:42 pm
by chulett
Seq() is the inverse of Char().

Re: Retrieving the ascii number for characters

Posted: Tue Aug 02, 2005 3:43 pm
by DeepakCorning
The following function can help you-->

"Seq(character)"

EG-->

MyVal = Seq("A") ;* returns 65