# Graph
win_close ("Graph");
# Check if tickets sold increase 1
if(new == first+1)
tl_step("total",0,"correct" new "," first);
else
tl_step("total",1,"incorrect" new "," first);
从Graph上取text,又是if问题,在进入if时它认为new!=first+1,在显示结果时确又确实显示的new比first大一,怎么回事?怪
[ Last edited by lbdfg on 2005-4-30 at 18:20 ]作者: pcl2004_27 时间: 2005-5-6 23:39
if(new == first+1)
tl_step("total",0,"correct" new "," first);
else
tl_step("total",1,"incorrect" new "," first);
修改一下脚本:
if(new == (first+1))
tl_step("total",0,"correct" new "," first);
else
tl_step("total",1,"incorrect" new "," first);
调试下