Show variables values at the console

Typically: "How do I... ", "How can I... " questions
Post Reply
luberdis

Show variables values at the console

Post by luberdis »

Hi I would like to ask you with which function can I show the value of a variable at the console. I already know the sim.AddstatusBar but it only works for messages with string character

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: Show variables values at the console

Post by fferri »

You can concatenate numbers to strings using the .. operator.

E.g.: sim.addStatusbarMessage('Value='..value)

Or you can use print(...) too.

Post Reply