> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > Jose Alberto Fernandez wrote: > > >>From: Peter Reilly [mailto:[EMAIL PROTECTED] > >> > >> From the point of view of most languages, there is a flat > >>namespace. For example in "C" one can do > >> > >>int a; > >> > >>void proc(void) { > >> int a; > >> a = 1; > >>} > >> > >>Peter > >> > >> > >> > > > >Sorry, but you are mistaken here. The "a" being assigned is > different > >from the global one. So, it is not flat. Each identifier is actually > >represented by a location relative to a frame or environment. > > > > > The point I was trying to make was that the "C" use is the > same as the origianl <local> useage: <local name="a"/> <sequential> > <local name="a" value="1"/> > </sequential> >
Yes but in "C" not declaring something is a syntax error. In ANT is a meaningful operation. So we need shadowing without definition. > The namespace is flat, but the name can refer to different locations > depending > on scope. > > >That is not the case in ANT. Or more clearly everything inside a > >project is on the same frame/environment. > > > > > In the local patch, a new frame is made for each container. > Do we copy, not copy, almost copy? What happens if I declare a parallel with a <daemon/> ? inside a macrodef. Jose Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]