Results 1 to 32 of 32

Thread: twinbasic bug report,vb7 replace vb6,Creative ideas and suggestions

Threaded View

  1. #6

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,541

    Re: twinbasic bug report

    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
    Last edited by xiaoyao; Dec 30th, 2024 at 08:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width