cancel
Showing results for
Did you mean:

SOLVED
Go to solution
Member

## lr_output_message - Help

Hello Team,

I have small dbout in lr_output_message funtion. Actually i liked display some parameter using the above function, like below..

lr_output_message("some text is: %s",lr_eval_string("{param1}"),"some text_2 is: %s",lr_eval_sting("{param2}"));

in the above i have tried to display two parameter.. but i liked to do more..

if this is not possible.. please let me know is there any other function which does the same :)

many thanks !

Nan_Raso.

Thanks,
Nan Raso
4 REPLIES
Frequent Visitor
Solution

## Re: lr_output_message - Help

Yes, this is possible, but your formatting is a little off. You could output multiple parameters like this:

```lr_output_message("some text is: %s | some text_2 is: %s",lr_eval_string("{param1}"),
lr_eval_string("{param2}"));```

In C you define the full string first and all the parameters are defined afterwards.

Highlighted
Member

## Re: lr_output_message - Help

Hi,

That would be somthing like this:

lr_output_message("some text is: %s, some text_2 is: %s, some text_3 is: %s, some text_4 is: %s, ", lr_eval_string("{param1}"), lr_eval_sting("{param2}"), lr_eval_sting("{param3}"), lr_eval_sting("{param4}"));

NB: If this solves your problem / helps you on the way, consider acknowledging with Kudos. To kudo a post, select the thumbs up icon in the gray square by the post in the thread.
Member