Asc Function

Syntax              Asc(S$)

Group                String

Description       Return the ASCII value.

Note: A similar function, AscW, returns the Unicode value. Another similar function, AscB, returns the first byte in S$.

Parameter         Description

S$                       Return the ASCII value of the first char in this string value.

See Also            Chr$( ).

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print Asc("A") ' 65
End Sub