On Thu, 9 Mar 2000, Jeff VanSlyke wrote:

> I am new to vtcl, and I am having trouble getting namespaces to work.  I have 
>figured out that vtcl includes all sourced procs into its file, what I don't 
>understand is where it is losing its scope.  The code executes just fine outside of 
>vtcl. In vtcl all of the of the qualified proc calls <namespace>::proc fail even 
>though if you execute a "namespace current" command you will see that the namespace 
>exists.  This problem exists whether or not the namespace is being sourced from 
>another file, or is coded in the script.  The behavior is the same.  Vtcl appears to 
>not recognize the namespace.
> 
> Any help or work arounds would be appreciated.  Vtcl v.1.2 TCL 8.3
> 
> Stumped

This is a definitely _NON_-authoritative answer.  But, in using namespaces
generally in Tcl, I've found that I have to make the references in the
form

        ::<NAMESPACE>::....<whatever>

I haven't ever tried it with vtcl.

Cheers,

> ---------------------------------------------------------------------------
> 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).
> 

|| Ken Bowen      Applied Logic Systems, Inc.         PO Box 400175,     
||====            Voice:  +1 (617)497-0100            Cambridge
||                FAX:    +1 (617)497-3963            MA  02140  USA
                  Email:  [EMAIL PROTECTED]        WWW: http://www.als.com

---------------------------------------------------------------------------
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