(j3.2006) Constraint C835: SELECT TYPE selector must be anamedvariable

Malcolm Cohen malcolm
Thu Nov 6 21:33:08 EST 2014


Damian asks
> [why]?bar%stuff? is not a name

So here we have "bar's component stuff" ...

... is this not exactly the same as "Malcolm's nephew Fred"?

That's precisely why I am puzzled that people are (apparently) thinking this is 
a special technical term - it is not, it is just normal usage.

>In fact, I?m still so uncertain that I just went and concocted a simpler 
>example without the ?%? to be sure that it is the ?%? that is the problem.

It's not the "%", it's anything that's not a name.  Like "the 3rd volume of Lord 
of the Rings" is not a name, so "the 3rd element of ARRAY" aka ARRAY(3) is not a 
name.

Of course all those examples *contain* names, but are not in themselves names.

And we do of course give the syntax that Fortran names are required to have...

Cheers,
-- 
................................Malcolm Cohen, Nihon NAG, Tokyo. 




More information about the J3 mailing list