This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Am I correct if I understand them along with note 12.28, that the lines
call nonassign (x(2), x(1)) call nonassign (x(3), x(2))
are correct, but not
call nonassign (x(2:3), x(1:2))
because x(2) is common to the two arguments?
However I am puzzled by the following note:
NOTE 12.31
Because a nonpointer dummy argument declared with INTENT(IN) shall not be
used to change the associated actual argument, the associated actual
argument remains constant throughout the execution of the procedure.
the 'y' argument of 'nonassign(x,y)' is INTENT(IN), should not x(1:2)
"remains constant throughout the execution of the procedure"? or what am I
missing?
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |