用这个lr_save_string 函数
char *b = "很简单";
lr_save_string(b,"b");
lr_output_message("%s",lr_eval_string("{b}"));
int a =100; //初始化
char *b="abc";
a=123; //赋值
b="xyz";
lr_save_int(a,"intA"); //将变量a保存为参数
lr_save_string(b,"StrB"); //将字符串b保存为参数
//使用LR标准格式调用参数并打印
lr_output_message("intA=%s",lr_eval_string("{intA}"));
lr_output_message("StrB=%s",lr_eval_string("{StrB}"));