以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  extgbstringSet,不能numtostr??  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=82224)

--  作者:roadpeace
--  发布时间:2015/8/10 13:31:45
--  extgbstringSet,不能numtostr??
和globalvariable作比较,globalvariable可以,但extgbstringset不行,何解?

GLOBALVARIABLE:str2=\'\';

str2:=\'\';
str2:=numtostr(c,2);
msgout(1,str2);

extgbstringSet(\'str1\',\'\');
extgbstringSet(\'str1\',numtostr(c,2));
msgout(1,extgbstring(\'str1\'));



输出:
2015/08/10 13:27:13  2044.00
2015/08/10 13:27:13  


--  作者:jinzhe
--  发布时间:2015/8/10 13:57:22
--  
此函数不能获取numtostr函数结果
--  作者:roadpeace
--  发布时间:2015/8/10 14:06:39
--  
意思是extgbstringSet和其他变量并不一样??

而且通过numtostr计算的变量,再extgbstringSet,同样是不行
例如:
aaaa:=numtostr(c,2);
extgbstringSet(\'str1\',numtostr(c,2));
msgout(1,extgbstring(\'str1\'));

为何人家又可以?莫非金字塔修改过了?
http://www.weistock.com/bbs/dv_rss.asp?s=xhtml&boardid=5&id=11344&page=1

其实我就是想实现他这个发qq的功能,结果就发现并不行

--  作者:jinzhe
--  发布时间:2015/8/10 14:20:43
--  
函数有BUG,已经提交给研发