Show variables values at the console

Typically: "How do I... ", "How can I... " questions
Post Reply
luberdis
Posts: 6
Joined: 14 Dec 2018, 16:06

Show variables values at the console

Post by luberdis » 17 Dec 2018, 15:13

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: 252
Joined: 09 Sep 2013, 19:28

Re: Show variables values at the console

Post by fferri » 19 Dec 2018, 14:04

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

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

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

Post Reply