Writing text labels with variables

Hi Rooters,
I want to create a text label with some text inside, on the top of a window with 6 canvas.
But I want that the text change depending on the value of the variables. I mean Graphics i, where i=0,1,…10, i.e.

How can I do that?

If someone could help me I’ll be greatfull


João Pires

see examples in the tutorials, eg tornado.C