Jan van Oosterwijk writes:
> Could anyone of you tell me if it is allowed to use the same name for
> a Contruct name and a variable name (in the same scoping unit of course).
It is not allowed.
> I have been searching the F90 Standard (14.1)...
That's the right place. In particular, 14.1.2 includes both named
variables and named constructs (and pretty much everything else) as
"class 1" local entities. Then a few lines farther down, we have
"Within a scoping unit,a name that identifies a local entity of one
class must not be used to identify another local entity of the
same class..."
> Is there a difference between F90 and F95.
No.
--
Richard Maine
[log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|