> I've never had a problem with this; I do it all the time. You just declare
> the variables as global in eery proc that needs to use them.
> 

That's weird. It didn't seem to work when I tried it. The variables
disappeared. I'll test again as soon as possible. I found a workaround for my
particular case, using local vars.

> > Is it possible to declare functions before init? My init proc depends on
> > another function. Of course, it doesn't work after I export my interface and
> > try to reload it... Unless the only way around this is to declare my proc in a
> > different file and source it? Hmmm...
> 
> vTcl supplies two procs, init and main. "main" is the last to execute so
> you should be able to move what you have in init to main.
> 

Hmmm... I dunno, it's possible. I'll see if it apllies in my case.

Thanks.

Laurent
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to