一个字数组:
strBuf : array[0..49] of char;
值为:
('q', 'K', 'c', 'e', 'D', 's', 'S', 'k', #192, '3', '.', '1', '.', '0', 's', 'o', 'f', 't', 'w', 'a', 'r', 'e', 'A', 'Y', 'n', '0', '2', 'P', 'S', 'o', #15, '0', '6', '0', '8', #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0)转化为字符串:str := strBuf;
str := StrPas(strBuf);str = qKceDsSk?.1.0softwareAYn02PSo 0608但是通过:
for i:=0 to 49 do
edit3.Text := edit3.Text + CapibilityBuf[i];edit3.text = qKceDsSk3.1.0softwareAYn02PSo 0608如何使 str 的值和 edit3.text 一样
strBuf : array[0..49] of char;
值为:
('q', 'K', 'c', 'e', 'D', 's', 'S', 'k', #192, '3', '.', '1', '.', '0', 's', 'o', 'f', 't', 'w', 'a', 'r', 'e', 'A', 'Y', 'n', '0', '2', 'P', 'S', 'o', #15, '0', '6', '0', '8', #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0, #0)转化为字符串:str := strBuf;
str := StrPas(strBuf);str = qKceDsSk?.1.0softwareAYn02PSo 0608但是通过:
for i:=0 to 49 do
edit3.Text := edit3.Text + CapibilityBuf[i];edit3.text = qKceDsSk3.1.0softwareAYn02PSo 0608如何使 str 的值和 edit3.text 一样
解决方案 »
- 关于 Delphi压缩库ZLibEx 的使用
- 为何客户端必需得在服务端之后启动
- Delphi7+SQLServer2000+DBExpress+Soap开发问题
- 最近做項目時需要操作 Excel. 請推薦肌本書
- 请高手帮我实现日期方面的功能》
- quickreport根据报表的内容自动加序号的问题
- 程序啟動出錯問題?急!
- 紧急请教:音量大小调整如何编??????????????
- 送分问题——listview使用了imagelist设置了图标,如何使得item被选中时相应的图标颜色不变呢?
- __一个类的设计(医疗保险信息系统)
- 谁能帮我看看这个sql该怎么写,有些难度.
- 微软最新的VISTA系统不支持DELPHI吗?
str: string;
begin
SetLength(str, SizeOf(strBuf));
Move(strBuf[0], str[1], SizeOf(strBuf));
Edit3.Text := str;
end;