On Sun, 16 Mar 1997, Lex Luthor wrote:
> I made a little application that has a window with a listbox and a
> global variable that has all items of that list box.
> The variable is initialized empty. I crated a procedure that is called
> in the main and all it does is to load a list from an file and add it to
> the var. and to the listbox.
> When I start VTcl and open the project, it executes the procedure called
> in main, and the list is shown in the list box. Ok, that's good, so I may
> test it, but if I decide to save the project, the variable is saved with
> it's contents, all the list is saved in the initialization for the list,
> that had to be empty.
I was going to ask about this very thing. Everytime I load my application
into vTcl, it later gets saved with all of the current values of my
global variables.
I've had to put several "unset" commands in "main" to clear these out.
It would be nice to have a preference switch that says to save the
"widget" array for the aliases, but no other global variables.
...RickM...