>First, here is some backgound. I am trying to simulate colour changes to >a picture under conditions chosen in a dialog window. A rotation angle >and a tilt angle are selected and the simulation starts. It would be >useful to display those angles while the simulation is proceeding. While >trying to achieve this, I have encountered the following problem. > >Prior to trying to display the angular information, I have been >successfully opening a window for display, drawing the picture in its >original colours in an offscreen window and then bringing it back to the >screen window and animating the colours. After failing to display the >angular data, I tried to open an additional window and use it to >display that information. I found that I could display integer >variables but not string variables, even though they were all declared to >be global. >Puzzled by this I moved my temporary window down to the end of the >program, after simulation had been completed and the main window closed. >I could now print both string and integer variables, confirming they the >string variables had not disappeared. > >To me, this is odd. I would appreciate any light that can be thrown >on it. > >Vic Maslen Are you using a LOCAL FN to return a string variable ? If so, use this form: LOCAL FN ReturnString$(param1, param2, etc.) 'Note the '$' in the FN name. 'do stuff END FN = myString$ myString$ = FN ReturnString$ 'Again, note the '$' in the function name. Sylvain