> The () on the function statement seem completely redundant so why have
> them? p112 on fortran90/95 explained appears to show them as
> required so
> it's obviously part of the standard.
Consider the statement:
integer function test
Is this a declaration of a function named TEST or of a variable named
FUNCTIONTEST? To resolve this ambiguity, the parentheses are required for a
function declaration.
Steve Lionel
Compaq Fortran Engineering
http://www.compaq.com/fortran
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|