ok, thanks, that was a fast answer :)
now Jonne, could you please confirm that the initialize_amsn variable is not 
accessible with the 
sources in this uplevel ? maybe it's a bug with tcl+tip which doesn't work 
right for upleveled 
code...
just confirm if it works or if it crashes.
Thanks,
KKRT

On Mon, Oct 16, 2006 at 12:52:23PM -0300, miguel wrote:
> Youness Alaoui wrote:
> > about the error you talked about with the initialize_amsn, look carefully 
> > at the reload_files 
> > proc, it does :
> > uplevel #0 {
> >   source ...
> >   source ...
> >   ...
> > }
> > 
> > so all the sourcing is done in the global namespace, so $initialize_amsn 
> > should be access as is, 
> > no ened to fully qualify it since we're in the global namespace already...
> > at least, that's what I think, mabye Miguel can enlighten us on this 
> > subject as I may have not 
> > understood correctly what the changes this tip brings..
> 
> Indeed: whatever happens in [upvar #0] is already running in the global
> namespace, so it does not need to be fully qualified. So: what is run at
> caller's scope in the sourced file (ie, not within namespace evals or
> procs) is fine.
> 
> HTH
> 
> Miguel
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to