if (Tickests* Ticket Price==Total)
tl_step("Total",1,"correct "Tickets"tickets at $" Ticket Price" cost $"Total".");
else
tl_step("Total",0,"error "Tickets" tickets at $" Ticket Price" does not equal $"Total".");
这个脚本在执行结果中没有取得变量得值,是不是哪里写错了,请赐教,谢谢!作者: 快乐逍遥 时间: 2006-8-15 14:50
你取的值全都输出到 text了
查看tsl帮助
edit_get_text ( edit, out_string );
edit The logical name of the edit object.
out_string The output variable that stores the string found in the edit object.作者: xihong2004 时间: 2006-8-15 14:51
你应该写成:
edit_get_text("# Tickets:",a);
edit_get_text("Ticket Price:",b);
edit_get_text("Total:",c);
if (a*b==c)
...........作者: piao_604 时间: 2006-8-16 14:28
谢谢,终于解决了,呵呵!