Thursday, May 2, 2013

How to save value of one parameter to another?

It’s so simple to save value of one parameter to other parameter.

1.    Evaluate value of first parameter using lr_eval_string function.
lr_save_string("Parameter Value of param1", "param1");
lr_output_message(lr_eval_string("Value of param1: {param1}"));

2.    Save the evaluated string to a second parameter using lr_save_string function.
lr_save_string(lr_eval_string("{param1}"), "param2");
lr_output_message(lr_eval_string("Value of param2: {param2}"));

Click here to know more
Now execute the script and check the result. Both parameters (param1 & param2) have the same values - "Parameter Value of param1".

Mission Accomplished!!!

No comments:

Post a Comment