Example how to display the value of a variable on the screen?

Just set text, like this.