小编Ale*_*der的帖子

Asc()VB函数中的错误?

你能告诉我为什么Asc()函数返回错误的结果吗?

    Dim TestChar = Chr(128)
    Dim CharInt = Asc(TestChar) ' this is a mistake on Windows 7 x64. Asc(TestChar) returns 136 instead of 128
Run Code Online (Sandbox Code Playgroud)

我在另一台计算机上执行此代码,结果是128.

谢谢.

vb.net string

4
推荐指数
1
解决办法
3612
查看次数

标签 统计

string ×1

vb.net ×1