LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 647|回复: 1

how can I do it?

[复制链接]
发表于 2004-1-8 17:35:43 | 显示全部楼层 |阅读模式
I'm using Libc.System command, it's working , but it doesnt understand parameters that follow the command sim.exe.
Each parameter is entered in Edit boxes.

Bellow is the code:

procedure Ttdform.simClick(Sender: TObject);

.
.
.
Libc.System ('sim.exe parameter1 parameter2 parameter3 p4 p5 p6');
...

end.

It works if I use Libc.System ('sim.exe 3 1000 10 30 40 50);
but I want to use the value entered in the Edit box, how can I do it?

Thanks,
发表于 2004-1-9 22:06:16 | 显示全部楼层
你的parameter1之类的是界面输入的值吗?
用'sim.exe ' + parameter1 + ' ' + parameter2 + ' ' + parameter3 + ' ' + p4 + ' ' + p5 + ' ' + p6
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表