if not(bits.Value) and not(VARIABLE0.dValue0) then
begin
LoadPage('','NEWPAGE0002');
VARIABLE0.dValue0:=ture;
end;
if bits.Value and VARIABLE0.dValue0 then
begin
LoadPage('','NEWPAGE0000');
VARIABLE0.dValue0:=false;
end;
如果还是不行,把工程发过来我看看。邮箱:liu_du_1@126.com
if not(bits.Value) and not(VARIABLE0.dValue0) then
begin
LoadPage('NEWLAYOUT0000','NEWPAGE0002');
VARIABLE0.dValue0:=true;
end;
if bits.Value and VARIABLE0.dValue0 then
begin
LoadPage('NEWLAYOUT0000','NEWPAGE0000');
VARIABLE0.dValue0:=false;
end;
以上是你写的
以下是我写的
if bits.Value then
LoadPage('','NEWPAGE0000')
else
LoadPage('','NEWPAGE0002');
不明白,为什么非要建立一个图页变量才可以啊
我这段脚本逻辑上有什么问题啊
就是一个变量为1,显示一副画面,为0显示另外一副画面
请帮忙解释一下啊