asc(s$)

This function returns the ASCII value of the first character of string s$.  s$ can be a string variable, or text enclosed in quotes. Text and formatting characters have ASCII values from 0 to 255.  See also CHR$( n )

chr$(n)

This function returns a one-character-long string, consisting of the character represented on the ASCII table by the value n (0 - 255).