Insert variable inside text

Why I got this error ?
Counter is int32

@mironb

You need to use counter.ToString…

+ can be used between string or between numbers but not a combination

Cheers

Hii @mironb ,
Can you check it by Providing Counter.ToString ?

1 Like

HI,

Can you try to add .ToString as the following?

"Start attempt" +Counter.ToString +"to find XM"

Regards,

Hii @mironb

Please check counter.ToString as you provide string in log message

Thanks,
Armila

@Yoichi thank you very much

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.