什么原因引起的“Unterminated sting”错误?
测试脚本如下:# Graph
set_window("Graph", 5);
obj_get_text("GS_Drawing", new_total, 227, 211, 240, 223); # 34
win_close ("Graph");
# check that graph total increments by one.
if (new_total == first_total +1)
tl_step("new_total", 0, "Total is correct.');
else
tl_step("new_total", 1, "Total is incorrect.');
# Flight Reservation_1
win_close ("Flight Reservation_1");
开始执行时一切正常,直至执行到if语句时出现“Unterminated sting!”的错误提示信息,究竟是什么原因造成的错误啊?
谢谢各位帮助...:)
楼上的if语句的语法有误吧!
tl_step怎么会出现“ 和 ‘ 配对的语句!! 对,tl_step后面的双引变成了单引,你查一下你那个错误是不是那个原因吗?
页:
[1]