你能告诉我为什么Asc()函数返回错误的结果吗?
Dim TestChar = Chr(128) Dim CharInt = Asc(TestChar) ' this is a mistake on Windows 7 x64. Asc(TestChar) returns 136 instead of 128
我在另一台计算机上执行此代码,结果是128.
谢谢.
vb.net string
string ×1
vb.net ×1