Asc() is the complement of the Chr() function and returns the ascii number of the string character. If you provide more than one character to this function, only the ascii value of the first character is returned. Link to Ascii Chart
Example:
If asc("A") = 65
MsgOk msg=asc("A") is equal to 65
Endif