The ASC(char) function of twinbasic is wrong
Code:Dim a As Long, asc1 As Long, W As Long, Str As String Str = "?" Str = ChrW(24120) asc1 = Asc(Str) W = AscW(Str) ansiCode = Asc(StrConv(Str, vbUnicode)) Debug.Print "vb6 str=" & Str & ",asc=" & asc1 & ",AscW=" & W![]()




Reply With Quote