Quote Originally Posted by xiaoyao View Post
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
Name:  ASC_VB6_TWINBASIC.jpg
Views: 1635
Size:  34.7 KB
I get no difference other than tB can render the Unicode char and VB6 can't:

Name:  vbasc.jpg
Views: 2340
Size:  29.5 KB

So if your Chinese VB6 version is behaving different than the US version, the latter is currently how twinBASIC will behave for now. In the future localization may be supported.