以文本方式查看主题

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

--  作者:orca8
--  发布时间:2016/6/24 8:13:03
--  重复问题
公式里面

if 1 then
a:1;
else if 0 then
a:0;

不管怎么写 a 总是提示不能重复,要怎么写才能让变量名一样,不提示错误?


--  作者:jinzhe
--  发布时间:2016/6/24 9:00:15
--  

a:=1;

a:=0;