设为首页收藏本站

 找回密码
 注册
查看: 1153|回复: 2

函数BUG [复制链接]

Rank: 1

精华
0
UID
282352
积分
42
帖子
26
主题
12
阅读权限
10
注册时间
2019-8-7
最后登录
2021-5-24
发表于 2020-9-18 14:40:09 |显示全部楼层
说明        把给定的键名及其值写入到公式信息文件的相应块中。
语法        String SetTBProfileString2File(String strPath,String strSection,String strKey,String strValue)
参数        strPath 指定文件的路径,请使用全路径表示,并使用\\做路径分割符,否则会执行失败
strSection 指定的信息块的块名
strKey 指定的信息的键名
strValue 写入的字符串信息
备注        把给定的键名及其值写入到文件的相应块中。 执行成功返回True,执行失败返回False。写入字符串长度不能超过256字节,否则无法正常读出。 提示:配合GetTBProfileString2File使用。
示例        SetTBProfileString2File("c:\\test.txt","MySection","Close",Text(Close));

SetTBProfileString2File  返回值应该是BOOL

设置好了文件   文件内容是乱码   无法查看内容   .ini 文件不能查看   .tbf 文件用数据中心依然无法查看

Rank: 10Rank: 10Rank: 10

精华
0
UID
20842
积分
931
帖子
382
主题
2
阅读权限
255
注册时间
2010-12-3
最后登录
2022-2-15
发表于 2020-9-18 17:04:06 |显示全部楼层
在数据中心的本地数据库查看。

http://www.tbquant.net/dist/faq.html#/?position=toc572

使用道具 举报

Rank: 1

精华
0
UID
282352
积分
42
帖子
26
主题
12
阅读权限
10
注册时间
2019-8-7
最后登录
2021-5-24
发表于 2020-9-21 11:05:17 |显示全部楼层
版主你所说的 我知道           Bool FileAppend(String strPath,String strText)   使用该函数是可以用软件数据中心查看
但是好像升级后  String SetTBProfileString2File(String strPath,String strSection,String strKey,String strValue)   数据中心不能查看ini格式文件内容

请版主查看并反馈下

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

bottom

静态版|手机版|联系我们|交易开拓者 ( 粤ICP备07044698   

GMT+8, 2024-4-27 03:40

Powered by Discuz! X2 LicensedChrome插件扩展

© 2011-2012 交易开拓者 Inc.

回顶部