I ran into a similar problem trying to save and recall a file for the program I am writing. The thing is I want my standalone to be able to open a saved file and along with data it should restore the values of all the global variables. So the way I though of is to store the globalnames together with their values in the save file. And to open a file and restore the values of global vars I use the 'do' form as expressed by Dennis. In such a case the method used by Pat would not work (of course it can be used for other purposes).
The documentation says that 'do' is quite slow as it compiles in real time. Its not too slow for me but I'm not loading a terribly big file. Martin Date: Fri, 10 Jun 2005 12:11:41 +1000 From: "Pat Trendler" <[EMAIL PROTECTED]> Subject: Re: Watching my Variables To: "How to use Revolution" <use-revolution@lists.runrev.com> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Just thought I'd show another way of doing this. I always get mixed up with where to put the "" when using those "do" things. put " " & value(item x of varNames) & cr after tList Pat [EMAIL PROTECTED] >I ran into the same problem. I solved it with the do command >do "put "&myVariableNameIsInHere >Dennis _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution