> On Tue, 10 Jun 1997, Ray.Luckhurst wrote:
>
> > Suddenly getting problems with the saved version of a largish vTcl app
> > which works fine under TEST mode, like:
> >
> > (1) losing global arrays (after deleting an element);
>
> hmm. that sounds serious. I'll look into it.
>
> > (2) 'can't use placer on top-level window "."; use wm command instead'
> > (when I hadn't changed the manager for ".").
>
> first I've heard of it, but then I've tried to mostly msk the use
> of "." inside of Visual Tcl. was this when importing an app created
> in an earlier version of vtcl?
>
> -stewart-
>
Here's more info which may help.
(1) Created a new Variable called settings(nwk.ip.addr) by mistake - actually wanted
settings(nwk,ip,addr). Created the comma element, deleted the dot one then saved the
project. vTcl had deleted the entire global array 'settings'. In preferences, 'save
global variable values' was enabled. vTcl v1.10. Tried it again just now - same
problem.
(2) Yes the original app was mostly built with 1.09 but I had done several successful
mods and saves since. Cannot offer more info now but will keep a close watch on
exactly when the manager changes from wm to . for the toplevels. Owing to this
problem my app is so fragile now that I'm developing very gingerly, keeping backups
after every minor change, so any ideas will be greatly appreciated - I don't like
editing vTcl-generated code and this tool is the best I've seen.
Stewart, I would really like to modularize my app now - it's too big for one file.
Can this be done such that I can still use vTcl?