aa285757 发表于 2014-2-25 09:51:33

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}
而不是预期关联的数值。

qitengfeng 发表于 2014-2-25 15:13:09

注意Socket的参数默认是用尖括号<param1>,不是{param1}
页: [1]
查看完整版本: socket做关联,关联成功后,却打印不出关联的数值,何解