Next: Examples of Pure
Up: Pure Procedures
Previous: Pure procedure interfaces
To define pure procedure references, the following extra constraint is
added to Rules R1209 and R1210 in Section 12.4.1 of the Fortran 90 standard
(defining function-reference and call-stmt):
- In a reference to a pure procedure, a procedure-name
actual-arg must be the name of a pure procedure.
- []Rationale.
This constraint ensures that the purity of a procedure cannot be
undermined by allowing it to call a non-pure procedure.
(End of rationale.)