社区
Delphi
帖子详情
TstringList too many actual parameters
zzj850902
2009-07-02 10:45:42
S1:TstringList;
S1.add(,,,,,,,,,,,,,,,,,,,,,,,,,);
提示 too many actual parameters????????????
请大哥帮忙解决
...全文
80
9
打赏
收藏
TstringList too many actual parameters
S1:TstringList; S1.add(,,,,,,,,,,,,,,,,,,,,,,,,,); 提示 too many actual parameters???????????? 请大哥帮忙解决
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
9 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
阿三
2009-07-02
打赏
举报
回复
S1:TstringList;
S1.add(,,,,,,,,,,,,,,,,,,,,,,,,,);
看看add中的参数是什么类型的,是个string
function Add(const S: string): Integer; override;
hongqi162
2009-07-02
打赏
举报
回复
呵呵,搞不懂类型
hongqi162
2009-07-02
打赏
举报
回复
S1.add(..)
S1.add(..)
S1.add(..)
S1.add(..)
只能这样一条条的写
zzj850902
2009-07-02
打赏
举报
回复
谢谢楼上的。
xinxinshou2009
2009-07-02
打赏
举报
回复
S1.add(,,,,,,,,,,,,,,,,,,,,,,,,,);
程序默认参数间用“,”分隔,你打了这么多“,”,程序当然是判断你的参数太多了。如果你是需要打一串逗号出来,就用下面的语句
S1.add(',,,,,,,,,,,,,,,,,,,,,,,,,'); 也就是把括号中的所有逗号都用单引号包起来
zzj850902
2009-07-02
打赏
举报
回复
参数一定要写进去的
因为我要用到 S1.savetofiel(xxx);
hongqi162
2009-07-02
打赏
举报
回复
既然知道了,你还继续问是什么意思呢?你想实现什么效果?
zzj850902
2009-07-02
打赏
举报
回复
呵呵 这个我知道
ks_reny
2009-07-02
打赏
举报
回复
參數太多了.
SQLDirect组件库用户指南
SQLDirect组件库For Delphi 4, 5, 6, 7, 8, 9 (2005), 10 (2006), 2007 和C++ Builder 4, 5, 6, 2006, 2007ver. 5.2用户指南IntroductionThank You for using SQLDirect Component Library. I hope that
Advanced Web Services
We've worked with standard SOAP servers, which have taken some
parameters
and then returned some more. What you might require to do in a real world application is to transfer files and binary data. ...
一种居于JvMouseGesture.pas的鼠标手势系统
to enhance single components, too. E.g., if you want to enable a grid with gesture feature. For this purpose you have to do 4 steps: 1) Fill the "OnMouseDown" event with code like if Button ...
bcd
Delphi/Kylix Math Info in look for MathematicsDelphi Contents A. Delphi/Kylix Math Unit efg's Delphi Math Resources B. Floating-...
Delphi for C++ Programmers
interface, and allow him or her to work on the
actual
program. It doesn't matter how visual your tools are (or how fantastic the manufacturer's claims), you won't accomplish much without ...
Delphi
5,388
社区成员
262,730
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章