VB函式:
定義:
Public Overloads Function AscW(ByVal String As Char) As Integer或
Public Overloads Function AscW(ByVal String As String) As Integer
示例:
MsgBox(Asc("A"))
返回:65
MsgBox(Ascw("A"))
返回:65
但:
MsgBox(AscW("水"))
返回:27700
而:MsgBox(Asc("水"))
返回:-13394