|
|
发表于 2020-11-12 11:16:36
|
显示全部楼层
湖南省永州市
| 窗口程序集名 | 保 留 | 保 留 | 备 注 | | 窗口程序集_启动窗口 | | | |
str = “精易论坛bbs.125.la,专业易语言编程学习交流论坛,真的666!!”调试输出 (charCodeAt (str, 0 )) 调试输出 (charCodeAt (str, 4 )) 调试输出 (charCodeAt (str, 14 )) 调试输出 (charCodeAt (str, 29 )) |
| charCodeAt | 整数型 | | |
| txt | 文本型 | | | | index | 整数型 | | | | 返回 (位与 (取字节集数据 (AnsiToUnicode (txt ), #短整数型, index × 2 + 1 ), 65535 )) |
| AnsiToUnicode | 字节集 | | |
| ansi | 文本型 | | | | code | 整数型 | | | |
| 变量名 | 类 型 | 静态 | 数组 | 备 注 | | length | 整数型 | | | | unicode | 字节集 | | |
如果真 (ansi = #NullString ) 返回 ( #NullBin ) length = MultiByteToWideChar (code, #Null, ansi, -1, #NullBin, #Null ) × 2 如果真 (length > 0 ) unicode = 取空白字节集 (length ) MultiByteToWideChar (code, #Null, ansi, -1, unicode, length ) 返回 (unicode )
|
|