(j3.2006) Attributes of a function

Bill Long longb
Sun May 8 00:44:02 EDT 2011



On 5/7/11 7:28 PM, Van Snyder wrote:
> 5.1p2 says that a function has a type, type parameters and rank, and may
> have other attributes.  It goes on to say that the type, type
> parameters, and rank are those of its result variable.  What about the
> "other attributes?"  Are the "other attributes" of a function those of
> its result variable?
>

Not necessarily. A function could have the BIND attribute - at least we 
say in multiple places that a procedure can have the BIND attribute. 
That would not be an attribute of the result variable.

Cheers,
Bill


> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3

-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the J3 mailing list