Page 1 of 1

Show variables values at the console

Posted: 17 Dec 2018, 15:13
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

Re: Show variables values at the console

Posted: 19 Dec 2018, 14:04
by fferri
You can concatenate numbers to strings using the .. operator.

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

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