- UID
- 93858
- 性别
- 男
|
各位好,我现在用的板子是apex系列的,我用vb界面做个文本下载程序,但不知道板子接受什么的字符形式,
部分程序如下:
const test as string = "abcABC123"
dim i as string
dim buffer () as byte
dim strtest as string
redim buffer (len(test)-1)
me.autoredraw = true
for i = 0 to ubound (buffer)
buffer (i) asc(mid$(test , i+1,1)
next
text1.text = buffer
mscomm1.output= trim (text1.text)
for i=0 to ubound(buffer)
strtest = strtest&chr$(buffer(i))
next
text2.text= strtest
mscomm2.output = trim (text1.text)
我的邮箱是xiyang-0@163.com,谢谢了。 |
|