Asc()
语法
Result = Asc(String$)概要
Return the first character value of the specified string.
参数
String$ The string to get the first character value.
返回值
The string first character value. If the program is compiled as unicode, it will return an unicode character value, else it will return an ASCII character value.
示例
Debug Asc("!") ; will print '33'
Remarks
It is also possible to obtain a constant character value while placing it between apostrophes.
示例
Debug '!' ; will print '33'A table with all Ascii values and their relating figures may be found here.
参阅
Chr()
已支持操作系统
所有