Sub Asc($ch As Char) As Integer


Returns an integer value that represents the character code corresponding to the specified character.


Parameters


  • $ch ... Any valid Char or String expression. If $ch is a String expression, only the first character of the string is used.


Example:

Dim $i

$i = Asc("A")
' returns $i = 65

$i = Asc("ABC")
' returns $i = 65