Ascii (string)
string is the string or expression that you want to convert. If string is a null value, a null value is returned.
The Ascii and Ebcdic functions perform complementary operations.
This example shows the Ascii function being used to compare a string of EBCDIC bytes:
EbcdicStr = Char(193):Char(241) ;* letter A digit 1 in EBCDIC AsciiStr = Ascii(EbcdicStr) ;* convert EBCDIC to ASCII If AsciiStr = "A1" Then ;* compare with ASCII constant ... ;* ... this branch is taken EndIf