帮忙看看以下脚本
edit_get_text("# Tickets:",text);edit_get_text("Ticket Price:",text);
edit_get_text("Total:",text);
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".");
这个脚本在执行结果中没有取得变量得值,是不是哪里写错了,请赐教,谢谢! 你取的值全都输出到 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. 你应该写成:
edit_get_text("# Tickets:",a);
edit_get_text("Ticket Price:",b);
edit_get_text("Total:",c);
if (a*b==c)
........... 谢谢,终于解决了,呵呵!
页:
[1]