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>
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.
Now if this was Fortran-62, you do not declare 'a' so any usage or
assignment
will refer the the only one location for 'a' in the compilation module.
THAT is how ANT works today.
Is true.
Peter
Jose Alberto
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]