I have a number of pages (varying on each level) which will each contain a block of randomly generated text to read when you click on that page. I now have it so that the text generation works fine but I would really like to be able to store the text, once it has been generated, as an instance variable of that particular page, so that clicking on the same page will always bring up the same bit of text. However, it seems that I can't set the text box to display text that is held as an instance variable, only a global variable. Is there a way round this?