比如:中,用asc函数,返回:20013,用asca函数返回:214,
但根据pb帮助中的说明:contain two characters (one characters as the high byte (ASCII value * 256) and the second character as the low byte).
应该是:214*256+ x = 20013
这样一来,x成了负数了?
是我哪里理解错误了吗?
------解决方案--------------------
The following user-defined function, called str_to_int_array, converts a string into an array of integers. Each integer in the array will contain two characters (one characters as the high byte (ASCII value * 256) and the second character as the low byte).
这个和ascii没有关系的