socket做关联,关联成功后,却打印不出关联的数值,何解
脚本如下lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_save_searched_string("socket0",LRS_LAST_RECEIVED,"aa","LB/BIN=<consequence>","RB/BIN=</consequence>",1,0,-1);
lr_output_message("receive:%s",lr_eval_string("{aa}"));
打印结果:
receive:{aa}
而不是预期关联的数值。 注意Socket的参数默认是用尖括号<param1>,不是{param1}
页:
[1]