Rick Macdonald wrote:
>
> On Fri, 14 Apr 2000, Giuseppe Maccaferri wrote:
>
> > Sylvie,
> > you are right! If you want set a global variables inside vtcl there is no way in
> > version 1.20.
> > You must open the file with an editor and add them by yourself.
>
> Wrong!
>
> You just set them in the supplied init or main procs:
>
> proc init {argc argv} {
> global myVars
> set myVars(stuff) fluff
> }
>
> This has the advantage that these variables will always have
> the same values every time you start your application.
>
> If I remember correctly, the vTcl v1.10 method of global variables meant
> that the app was saved with whatever value these vars had at the time of
> the save, which varied depending on if and when you switched into TEST
> mode and what you did in TEST mode. This is why I for one suggested that
> the global variable feature had no value (and was in fact bad, IMHO), and
> nobody has ever disagreed!
to get the variable window back, edit your .vtclrc file and change
to `set vTcl(pr,show_var) 1'
Joao
>
> ...RickM...
>
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user